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

Android ImageButton Aspect="AspectFit" not display correctly #24856

Closed
HuaFangYun opened this issue Sep 21, 2024 · 5 comments · Fixed by #21259
Closed

Android ImageButton Aspect="AspectFit" not display correctly #24856

HuaFangYun opened this issue Sep 21, 2024 · 5 comments · Fixed by #21259
Labels
fixed-in-9.0.21 i/regression This issue described a confirmed regression on a currently supported version partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@HuaFangYun
Copy link

HuaFangYun commented Sep 21, 2024

Description

image

        <VerticalStackLayout>
            <Frame Margin="10,70,10,10" HeightRequest="300">
            </Frame>
            <ImageButton Source="avatar.png"  CornerRadius="10" BorderColor="{StaticResource White}" BorderWidth="3" Aspect="AspectFit"  BackgroundColor="{StaticResource PrimaryDark}" WidthRequest="80" HeightRequest="80" HorizontalOptions="StartAndExpand" Margin="30,-335,20,0"/>

        </VerticalStackLayout>

On Windows correctly:
image

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.90 SR9

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@HuaFangYun HuaFangYun added the t/bug Something isn't working label Sep 21, 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.

@HuaFangYun HuaFangYun changed the title Android Aspect="AspectFit" not display correctly Android ImageButton Aspect="AspectFit" not display correctly Sep 21, 2024
@samhouts samhouts added platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending labels Sep 23, 2024
@Zhanglirong-Winnie
Copy link

@HuaFangYun
Could you provide me with your pictures or sample projects separately? It will be convenient for me to repro your issue. I look forward to your reply!

@HuaFangYun
Copy link
Author

MauiApp4.zip
@Zhanglirong-Winnie

@HuaFangYun
Copy link
Author

image
Maybe this picture is really special

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed i/regression This issue described a confirmed regression on a currently supported version and removed potential-regression This issue described a possible regression on a currently supported version., verification pending labels Sep 25, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.12.0 Preview 2.0(8.0.90 & 8.0.82 & 8.0.60 & 8.0.40). Can repro this issue on Android platform. This issue does not repro in 8.0.40.

@PureWeen PureWeen added this to the .NET 8 SR9 milestone Sep 25, 2024
@PureWeen PureWeen modified the milestones: .NET 8 SR9, .NET 8 SR9.2 Oct 1, 2024
@PureWeen PureWeen modified the milestones: .NET 8 SR9.2, .NET 9 SR1 Oct 10, 2024
@PureWeen PureWeen modified the milestones: .NET 9 SR1, .NET 9 SR2 Nov 5, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in MAUI SDK Ongoing Nov 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
@sheiksyedm sheiksyedm added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-9.0.21 i/regression This issue described a confirmed regression on a currently supported version partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants