https://kotlinlang.org logo
#compose
Title
# compose
a

Alex

10/08/2021, 10:32 AM
Is there a way for
LazyRow
items to fill the max available width (and size their children accordingly?)
There is a single item with a long text, I want it to fill the whole width of the
LazyRow
instead of being larger and getting cut off on the right
Tried giving the item
Modifier.fillMaxWidth()
but it doesn't seem to work, the item still gets sized based on its content
Nevermind, I just found it (obviously only right AFTER asking here, before trying for an hour 😄)
Copy code
Modifier.fillParentMaxWidth()
2 Views