-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[release/8.0.1xx-sr9] Fix Regression with iOS button resizing with text or image change #25214
Merged
PureWeen
merged 3 commits into
release/8.0.1xx-sr9
from
dev/TJ/ButtonTextChangeUpdate_backportToSR9
Oct 14, 2024
Merged
[release/8.0.1xx-sr9] Fix Regression with iOS button resizing with text or image change #25214
PureWeen
merged 3 commits into
release/8.0.1xx-sr9
from
dev/TJ/ButtonTextChangeUpdate_backportToSR9
Oct 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tj-devel709
requested review from
mattleibow and
rmarinho
and removed request for
a team
October 11, 2024 20:31
tj-devel709
force-pushed
the
dev/TJ/ButtonTextChangeUpdate_backportToSR9
branch
from
October 11, 2024 20:33
8d96182
to
9f2a919
Compare
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
PureWeen
approved these changes
Oct 14, 2024
PureWeen
changed the title
[Backport] Fix Regression with iOS button resizing with text or image change
[release/8.0.1xx-sr9] Fix Regression with iOS button resizing with text or image change
Oct 14, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
This PR fixes a regression with iOS buttons re-updating the size of the button when the text changes. There was some code that was trying to use the UIButton.TitleLabel.Bounds for sizing, but there are times the TitleLabel is still set to the old title. This PR also allows changes to the button size when the image is changed.
Issues Fixed
Fixes #25074
Small demo showing changing text and images triggers a resize when needed. The small jump in animation was already there and is not new to this PR.
Screen.Recording.2024-10-07.at.4.01.35.PM.mov