Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@mindgraffiti
Copy link
Contributor

@mindgraffiti mindgraffiti commented Sep 10, 2020

Fixes #155

WPiOS testing PR: wordpress-mobile/WordPress-iOS#14874

There is an issue where iOS 12.0+ users on smaller devices do not get proper font scaling. This is an iOS 12 issue that doesn't happen on iOS 13. Instead of attempting to force iOS 12 to use the correct font scaling, we're going to word-wrap the long text in the button so it can be successfully read by the user.

Note that the buttons in the prologue are different because the UL&S project had updated designs to work from.

Before After

@mindgraffiti mindgraffiti self-assigned this Sep 10, 2020
@mindgraffiti mindgraffiti added the bug Something isn't working label Sep 10, 2020
Copy link
Contributor

@ScoutHarris ScoutHarris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mindgraffiti . There is a hidden tertiaryButton in that storyboard. The truncation probably doesn't happen a lot on it, but just in case, we probably should apply the fix there as well.

@mindgraffiti
Copy link
Contributor Author

Thank you @ScoutHarris!

@mindgraffiti mindgraffiti merged commit 3c91bee into develop Sep 10, 2020
@mindgraffiti mindgraffiti deleted the fix/nux-button branch September 10, 2020 16:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NUX buttons are truncated on smaller devices

3 participants