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

Add Padding for iOS Buttons in some scenarios #24760

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Conversation

tj-devel709
Copy link
Contributor

@tj-devel709 tj-devel709 commented Sep 13, 2024

Description of Change

#24746 contains a full description, but essentially, there are edge cases where the user can set padding that is too small for iOS to lay out the button. Prior to changes in SR9, some of these situations looked okay because values for padding and spacing were not always respected. This PR makes it so if the padding set by the user is too small for the title and image in certain situations (described here), the padding will be increased. If the padding is already sufficient, no change will be made.

Before After

Issues Fixed

#24746
#24735

@PureWeen PureWeen merged commit 60076be into main Sep 19, 2024
97 checks passed
@PureWeen PureWeen deleted the dev/TJ/iOSButtonPadding branch September 19, 2024 10:38
@PureWeen
Copy link
Member

/backport to release/8.0.1xx-sr9

Copy link
Contributor

Started backporting to release/8.0.1xx-sr9: https://github.com/dotnet/maui/actions/runs/10939334860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants