Does the Row and Column elements have some default padding?
I have a very simple compose program (compose for desktop, but i hope this doesn't matter)
in which i create a grid with column and rows containing a simple textbox, neither of these elements have padding modifier applied.
As seen in the screenshot the red color, setted in the all containing box as background can be seen.
r
romainguy
12/27/2024, 8:32 PM
Text has padding (space around lines of text)
romainguy
12/27/2024, 8:33 PM
(not talking about the Text() composable itself)
t
Tobias Wohlfarth
12/27/2024, 8:36 PM
how can this removed? my plan is to have the the Text elements without any additional Space, only occupy the space of the single (monospaced) character
r
romainguy
12/27/2024, 8:39 PM
Use a custom composable and draw the text yourself to size it at exactly the size of each character. I would personally make the whole thing a custom composable though