Images do not layout correctly in Mac and iOS #22479
Labels
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/try-latest-version
Please try to reproduce the potential issue on the latest public version
t/bug
Something isn't working
Description
While placing the image in the grid with needed width and height request the images are not layout correctly inside the grid like Android and windows.
Below code can be used to replicate the issue:
<Grid WidthRequest="30" HeightRequest="30" BackgroundColor="Red"> <Image Source="audio.png" Margin="10" HorizontalOptions="Center" VerticalOptions="Center"/> </Grid>
Below I have attached the screenshots of the output in all the platform.
Android:
Windows:
Mac:
iOS:
Steps to Reproduce
Link to public reproduction project repository
ImageIssue.zip
Version with bug
Unknown/Other
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 16.2, macOS 12.6.3
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: