https://kotlinlang.org logo
v

Vsevolod Ganin

10/25/2020, 6:08 PM
Is there a way to change internal paddings in
TextField
?
The code is simple as
Copy code
@Preview
@Composable
fun Test() {
    TextField(value = "So much space around me...", onValueChange = { })
}
a

Afzal Najam

10/25/2020, 6:14 PM
modifier = Modifier.padding(0.dp)
as argument to TextField?
v

Vsevolod Ganin

10/25/2020, 6:16 PM
Tried that, it didn’t help unfortunately
a

Afzal Najam

10/25/2020, 6:16 PM
I guess you could use BaseTextField then
v

Vsevolod Ganin

10/25/2020, 6:17 PM
That did work! Thank you!
👍 1