Klaas Kabini
01/17/2020, 8:07 AMMihai Popa
01/17/2020, 2:34 PMKlaas Kabini
01/17/2020, 2:45 PM@Composable
fun EditText() {
var model by +state { "" }
Column {
Surface(modifier = Spacing(16.dp) wraps Height(64.dp),
border = Border(Color.Black.copy(alpha = 0.25f), 1.dp)) {
TextField(modifier = ExpandedHeight, value = model,
onValueChange = {
model = it
},
textStyle = (+typography()).body1
)
}
}
}
@Mihai Popa here is the code snippet. The height modifier does not make any effect on the surfaceMihai Popa
01/17/2020, 4:26 PMKlaas Kabini
01/17/2020, 4:27 PM