Richard Steventon
08/11/2022, 3:00 PMArrangement.spacedBy
and Arrangement.SpaceBetween
?curioustechizen
08/11/2022, 3:06 PMRichard Steventon
08/11/2022, 3:08 PMCasey Brooks
08/11/2022, 3:09 PMArrangement.spacedBy
, but add a Spacer(Modifier.weight(1f))
between items. If theres enough space, those spacers should push the individual items out, but if the row isn’t wide enough the spacer will collapse to 0 width. Definitely not the cleanest solution and I haven’t actually tried it, but I think it should work.Richard Steventon
08/11/2022, 3:10 PMCasey Brooks
08/11/2022, 3:10 PMRichard Steventon
08/11/2022, 3:12 PMRichard Steventon
08/11/2022, 6:45 PM