Christian
10/14/2020, 8:02 AMend
? basically, cursor starts from the right using BaseTextField
jim
10/14/2020, 5:39 PMSiyamed
10/14/2020, 5:39 PMChristian
10/15/2020, 2:24 AMtextAlignment
to viewEnd
TextAlign
is only applicable on Text
but not on BaseTextField
Siyamed
10/15/2020, 3:07 AMChristian
10/15/2020, 3:12 AMColumn(with(ColumnScope) {
Modifier.weight(1f)
}
) {
BaseTextField(
textStyle = TextStyle(textAlign = TextAlign.End),
textColor = textColor,
cursorColor = textColor,
value = textState,
onValueChange = {
textState = it
},
modifier = Modifier.background(textField)
.height(100.dp)
.fillMaxWidth()
.wrapContentSize(Alignment.BottomEnd)
)
}