Желаемый результат:
[img]https://i.sstatic .net/zsP2NH5n.png[/img]
Фактический результат:

@Composable
fun CustomOutlinedTextField(
value: TextFieldValue,
onValueChange: (TextFieldValue) -> Unit,
label: @Composable (() -> Unit)? = null,
modifier: Modifier = Modifier,
) {
OutlinedTextField(
value = value,
onValueChange = onValueChange,
label = label,
modifier = modifier
.fillMaxWidth()
.heightIn(min = 56.dp) // Set the minimum height here
.padding(16.dp), // Optional padding for extra space around the field
singleLine = false, // Allow multiple lines if needed
colors = OutlinedTextFieldDefaults.colors(
focusedBorderColor = Color.Blue,
unfocusedBorderColor = Color.Gray,
),
)
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... -respected
Мобильная версия