it doesn't necessarily have to have a modifier doing it, the text is the first element in the row and is long enough to break onto three lines, so it's taking up the space it wants first before the buttons get a chance to.
Adam Powell
03/21/2021, 3:19 PM
Use
Modifier.weight(1f)
on the
VeryBigText
to tell the row to measure it last after all of the other children have been measured and take up the remaining space.
๐ 1
d
Danish Ansari
03/21/2021, 4:15 PM
I can assure there is no
fillMaxWidth()
on
VeryBigText
@Adam Powell setting
weight(1f)
solved the problem, up until now I used to think that