-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set max lines on FlowLayout #13
Comments
At the moment this is not supported, you could hardcode view height if your lines are always the same height but this is a dirty hack. I was already thinking about this feature but it had some unanswered questions so id didn't work on it yet. The man problem here is how to handle items that are not visible in the view. Should we just ignore them or should we make view scrollable? Maybe add additional item at the end of last visible line that would expand view? Thoughts? |
I would say that making it scrollable would be preferable over a "View More.." button.. Let me know if I can help with that. |
My requirement is to show in one of the screen only two lines of items and when user moves to its detail screen show all items. Therefore in this case we can ignore the additional items, so "View More..." is not needed for now. I tried this
before adding items to flowlayout dynamically, calling setMaxNumberLines with required num of lines. |
How can we set max lines on the FlowLayout. Say for example if we need to show only first 3 lines, can you help me how to achieved this.
The text was updated successfully, but these errors were encountered: