Hi everyone. I have a question regarding TextField...
# compose
s
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
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
sorry, the link isn't scrolling to the Spec paragraph. Here is the screen from the spec
s
@Anastasia [G] as fyi
a
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
will do, thank you Anastasia