Can we update the inner padding of TextField to avoid the text being cropped depending of the TextField height ? I created a custom TextField to looks like a SearchView, but when I'm trying to customize the height, text is heavily cropped. Code in thread
So it's impossible to modify that extra styling in TextField ?
1 year ago
If you look at the implementation of
, it’s ultimately just a
with some specific styling. But that specific styling is meant to be opinionated to match the Material Design guidelines, which has specific properties that can be customized to spec, of which height is not one of them. Also notice that
is in the Compose
So if you’re wanting to deviate from the Material guidelines for a text field, you’ll need to use BasicTextField and do those customizations yourself.