Has anyone ever had to limit the max number of row...
# compose
c
Has anyone ever had to limit the max number of rows in a FlowRow? It seems like there have been some github issues about it (when it was in accompanist). I'm trying to fork it myself, but I haven't really worked with custom layouts so I feel like I'm going in circles, maybe someones done this already?
a
would you like to see my version? No guarantees it is good, I skipped a bunch fancy things from the actual FlowRow, like supporting different sizes and such
c
Most definitely!
Anything is better than my non-working solution at the moment
a
So this defaults to one line and sort of hard codes things to suit my needs.
content
is basically the overflow indicator, because my design had a + if all things couldn't fit.
❤️ 1
🔥 1
🦜 1
image.png
😍 1
c
Create a FR for maxRows on flowRow https://issuetracker.google.com/issues/293577082
👍 1