Join Slack
Powered by
How to divide available space in a row evenly betw...
# compose
m
Mehdi Haghgoo
09/13/2020, 8:27 AM
How to divide available space in a row evenly between items? For a bottomBar for example, the items tend to stick to start by default.
a
andev
09/13/2020, 8:30 AM
Modifier.weight(1) i guess
m
Mehdi Haghgoo
09/13/2020, 4:50 PM
Thanks
@andev
. It works by using Modifier.weight(1f) for all elements of the Row.
3
Views
Open in Slack
Previous
Next