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

Always need to provide image height and width #84

Closed
AswinPG opened this issue Oct 29, 2020 · 5 comments
Closed

Always need to provide image height and width #84

AswinPG opened this issue Oct 29, 2020 · 5 comments

Comments

@AswinPG
Copy link

AswinPG commented Oct 29, 2020

I am trying to create a staggered layout but while using glidex I cannot get the image size. I need to provide height request and width request manually. What should I do to get correct sizes ?

@AswinPG
Copy link
Author

AswinPG commented Oct 29, 2020

Saw same issue so I am closing this

@AswinPG AswinPG closed this as completed Oct 29, 2020
@jonathanpeppers
Copy link
Owner

@AswinPG this has been coming up lately, if I put some docs on the README about this, do you think you would have seen it?

@AswinPG
Copy link
Author

AswinPG commented Oct 29, 2020

Yes I would have. Is there a workaround for this ?

@jonathanpeppers
Copy link
Owner

It's the same problem I posted here: #10 (comment)

Since Glide loads images based on the size of the ImageView -- and Xamarin.Forms tends to do layout of the ImageView based on the image size, I don't know a way to reconcile this...

If you have some ideas, let me know!

@AswinPG
Copy link
Author

AswinPG commented Oct 29, 2020

Sure :) This is a great library by the way. Images that would not load on default forms Image loads easily with glidex. Thanks for this

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

2 participants