HI Everyone does anyone know how can i remove inte...
# compose
n
HI Everyone does anyone know how can i remove internal padding of textfield for leading and trailing icon
👀 1
f
You can look in the implementation if it's not hardcoded value
a
It's hardcoded, all internal paddings are
We had the same frustrations already
f
Yeah, thought so and I doubt this will be changed. You can read about the arguments from google in this similar issue but in the end you'll have to copy the Material code and make your changes there. @Napa Ram
c
File a bug and I'll star!
âž• 3
f
I expect you'll get the same answer as in the Checkbox issue I linked earlier
w
In the meantime maybe you could use an Icon and Text in a row, that would probably give you the same effect. You could also use a box with margins on the text equal to your icon’s size, bringing it even closer (possibly even slightly overlapping). Feels like that could be a bit of a nightmare with localization, but that’s not a concern for everyone. Still, if I had this need I’d probably go for icon and text in a row