Franck
BasicTextField( value = text, onValueChange = { text = it onDoSearch(text) }, modifier = Modifier .fillMaxWidth() .padding(horizontal = 16.dp) .border(1.dp, Color.Black) .background(Color.White) .height(48.dp), textStyle = androidx.compose.ui.text.TextStyle(textAlign = TextAlign.Center) // Center text horizontally and vertically )
A modern programming language that makes developers happier.