Ahmad Daneshvar
02/15/2022, 10:47 PMTextField
has some sort of padding, that causes the content cut (Please look at attached image)? And how I can eliminate it? Just please consider I don’t want to decrease font size or increase the height of TextField
or OutlinedTextField
to match the content. I am looking for another way. I also tried Modifier.padding
on the textField and didn’t matter.
Thank you in advance.Kirill Grouchnikov
02/15/2022, 11:04 PMAhmad Daneshvar
02/15/2022, 11:20 PMKirill Grouchnikov
02/15/2022, 11:23 PMAhmad Daneshvar
02/15/2022, 11:26 PMBasicTextField
to reach to the goal. The padding is because of decorations.Kirill Grouchnikov
02/16/2022, 1:49 AMYan Pujante
02/16/2022, 2:57 PMAhmad Daneshvar
02/16/2022, 3:08 PMBasicTextField
. I followed-up the source code of the TextField
and I have realized that decorations, label and … need some room, and the this margin reserved for them.
Also, in the Material them guidelines, it seems a standard behavior, although I don’t like it.