https://kotlinlang.org logo
#compose
Title
# compose
s

Sergey B

12/07/2021, 9:38 PM
Hi everyone. I have a question regarding TextField. According Material Design specification the height of TextField should be 48.dp, in compose default height of TextField is 56.dp. Is this on purpose or there is some mistake?
I know it's possible to change height of the TextField, but because of 16.dp vertical padding it's hard to make it 48.dp in height unless you use a very small font
s

Siyamed

12/07/2021, 9:54 PM
Isnt the extra for the error message and/or hints/labels?
Since 48 is the minimum touch magic number, i wonder it is a minimum or for touchable minimum o the real part that renders the text input (also i couldn't find 48 on the page linked)
s

Sergey B

12/07/2021, 10:00 PM
sorry, the link isn't scrolling to the Spec paragraph. Here is the screen from the spec
s

Siyamed

12/07/2021, 10:40 PM
@Anastasia [G] as fyi
a

Anastasia [G]

12/08/2021, 9:54 AM
Thanks for reporting. Looks like recent change to the specs. Please feel free to file a bug if you wish to track the progress
s

Sergey B

12/08/2021, 10:12 AM
will do, thank you Anastasia