Is there any way to remove the build-in padding fr...
# compose
j
Is there any way to remove the build-in padding from a
TextField
without using the
BasicTextField
? It doesn't bother me that much, but if the
TextField
scrolls you get a white gap at the top/bottom of the
TextField
😅
I tried wrapping my
TextField
within a scrollable Column. Then the gap is gone. But the Cursor won't scroll with the view when the user adds more lines.
l
It has been asked several times here, and sadly you can't 😔 You have to implement your own TextField using BasicTextField. But it's very easy to use and replicate the Material design text field with your own padding
🥲 1
j
The questions I found were about the padding itself. I'm ok with that as long as it scrolls with the Text. But I fear it's still not possible 😓
z