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

ImageButton Padding resizes image down unexpectedly even when there is available space #22521

Open
mattleibow opened this issue May 20, 2024 · 2 comments
Labels
Milestone

Comments

@mattleibow
Copy link
Member

mattleibow commented May 20, 2024

Description

Ith the button has unrestricted size, and there is padding - the image button size should be image size + padding. On iOS, the button size is calculated form the image, and then padding as added in to make the image smaller.

Android iOS Windows
ImageButtonUITests_Padding_Add_Added ImageButtonUITests_Padding_Add_Added ImageButtonUITests_Padding_Add_Added

Steps to Reproduce

Run the ImageButtonUITests or "Image Button Gallery" page.

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label May 20, 2024
@mattleibow mattleibow added platform/macOS 🍏 macOS / Mac Catalyst platform/iOS 🍎 area-controls-button Button, ImageButton and removed s/triaged Issue has been reviewed labels May 20, 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.

@mattleibow
Copy link
Member Author

Observed when adding UI tests to #22298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants