Grid auto height behaving differently between Windows and Android #14505
Unanswered
MustacheEmperor
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I think If you don't want any part of the image to be cut off, you probably want Also, it might help us understand the problem better if you could post some screenshots of what you're seeing on Android vs Windows. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to sort out if I'm doing something wrong or if this should be filed as an issue.
I'm working on a xaml layout that displays a ListView of ViewCells each consisting of an image with text labels displayed underneath. My intent is a long feed of images that horizontally expand to the width of the screen and aspect-fill vertically without cropping.
The below code displays as described on Windows, but on Android the images are all cropped to thin rectangles and appear to be covering up the text. I am new to Maui - is this my mistake, or an issue? Even setting a HeightRequest does not alter the actual pixel height of the image, it just blows it up within the cropped area.
Using a VerticalStackLayout instead of a Grid manifests exactly the same behavior - the layout looks as I described above on Windows, on Android the images are the full width but cropped very short.
Beta Was this translation helpful? Give feedback.
All reactions