mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-19 07:24:22 +01:00
Change TextField to OutlinedTextField for UART
This commit is contained in:
@@ -30,16 +30,17 @@ internal fun InputSection(onEvent: (UARTViewEvent) -> Unit) {
|
||||
Row(verticalAlignment = Alignment.CenterVertically) {
|
||||
Box(modifier = Modifier.weight(1f)) {
|
||||
|
||||
TextField(
|
||||
OutlinedTextField(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.height(6.dp)
|
||||
.height(60.dp)
|
||||
.verticalScroll(rememberScrollState()),
|
||||
value = text.value,
|
||||
label = { Text(hint) },
|
||||
onValueChange = { newValue: String ->
|
||||
text.value = newValue
|
||||
})
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Spacer(modifier = Modifier.size(16.dp))
|
||||
|
||||
Reference in New Issue
Block a user