HI Everyone does anyone know how can i remove internal padding of textfield for leading and trailing icon
👀 1
f
Filip Wiesner
08/26/2021, 8:23 AM
You can look in the implementation if it's not hardcoded value
a
Alex
08/26/2021, 8:39 AM
It's hardcoded, all internal paddings are
Alex
08/26/2021, 8:39 AM
We had the same frustrations already
f
Filip Wiesner
08/26/2021, 8:55 AM
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
Colton Idle
08/26/2021, 12:25 PM
File a bug and I'll star!
âž• 3
f
Filip Wiesner
08/26/2021, 12:42 PM
I expect you'll get the same answer as in the Checkbox issue I linked earlier
w
Will Shelor
08/26/2021, 4:11 PM
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