glidex: Xamarin.Forms.Image Does Not Appear
The Image does not appear when HorizontalOptions = LayoutOptions.CenterAndExpand
Reproduction Sample: https://github.com/brminnick/GlideX_HorizontalOptions_Repro
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 16 (7 by maintainers)
In some layouts you should try setting
HeightRequestorWidthRequest.The problem is a conflict in how Glide and Xamarin.Forms work: https://github.com/jonathanpeppers/glidex/issues/10#issuecomment-433109852
Image in StackLayout Doesn’t Appear
Here’s another example where the image doesn’t appear; this time when it’s inside of a
StackLayoutWorkaround
Specifying a value for
HeightRequestwill allow the image to appear