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

Images do not layout correctly in Mac and iOS #22479

Closed
MohamedHasan3644 opened this issue May 17, 2024 · 3 comments
Closed

Images do not layout correctly in Mac and iOS #22479

MohamedHasan3644 opened this issue May 17, 2024 · 3 comments
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

Comments

@MohamedHasan3644
Copy link

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:
image

Windows:
image

Mac:
Screenshot 2024-05-17 at 12 10 54 PM

iOS:
Screenshot 2024-05-17 at 12 18 21 PM

Steps to Reproduce

  1. Create a .NET MAUI project.
  2. Place the above code in the description.
  3. Run the Sample in Mac and iOS.

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

@MohamedHasan3644 MohamedHasan3644 added the t/bug Something isn't working label May 17, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@RoiChen001 RoiChen001 added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels May 17, 2024
Copy link
Contributor

Hi @MohamedHasan3644. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@RoiChen001
Copy link
Collaborator

RoiChen001 commented May 17, 2024

Can't repro this issue on Mac&iOS platform on the latest 17.6.12(build 410)(8.0.21&8.0.40).
macOS: Ventura 13.6.6
Mac:
22479
iOS:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants