How can I make a `Row` wrap its content, but have a max width of half its parent?
j
How can I make a
Row
wrap its content, but have a max width of half its parent?
y
I believe Row has modifiers for wrapping content. If you want max width of the parent, you could add Modifier.fillMaxWidth(0.5f) to the Row. There is also a modifier for weight you might be able to use (https://developer.android.com/jetpack/compose/layout#weight-in-row-and-column).
1668 Views