Skip to content
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

WrapLayout can't handle items with irregular heights #8

Open
roycornelissen opened this issue Feb 27, 2015 · 0 comments
Open

WrapLayout can't handle items with irregular heights #8

roycornelissen opened this issue Feb 27, 2015 · 0 comments

Comments

@roycornelissen
Copy link

For a requirement I was looking for an easy way to create a sort of moodboard with photo's of different sizes. The WrapLayout was a nice way to achieve that but I had to fiddle with the code to have it support photo's that have different heights. This version won't calculate the height correctly since it assumes that all items and rows have the same height.

My fork does this correctly, check this commit: roycornelissen@830aa42

Full file: https://github.com/roycornelissen/xamarin-forms-samples/blob/master/Evolve13/Evolve13/Controls/WrapLayout.cs

I think the code could be optimised a little bit, but for me it does what I want :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant