galex
07/06/2022, 2:02 PMText
to the start of the Text
as label in a TextField
?
@Composable
fun SomeTextField(
label: String,
) {
TextField(
label = {
Text( // text label here
text = label
)
}
)
Text("Here is an error text") // align this to start where the text label starts
}
🤔Luke
07/06/2022, 2:50 PMgalex
07/06/2022, 2:51 PMColton Idle
07/06/2022, 4:01 PMChris Sinco [G]
07/06/2022, 10:29 PMgalex
07/07/2022, 7:33 AM