Skip to content

Fix tab bar labels wrapping at large Dynamic Type sizes#679

Open
bjorkert wants to merge 1 commit into
devfrom
fix/tab-bar-label-truncation
Open

Fix tab bar labels wrapping at large Dynamic Type sizes#679
bjorkert wants to merge 1 commit into
devfrom
fix/tab-bar-label-truncation

Conversation

@bjorkert

Copy link
Copy Markdown
Member

At large accessibility text sizes the tab bar titles wrapped and truncated ("Re…", "Sno…") because both the title font and the SF Symbol icons scaled with Dynamic Type, leaving no room in the fixed-height tab bar.

This pins the title font (global UITabBar appearance) and the icons (fixed-size symbol images) to a constant size. Works regardless of which tabs the user has placed in the bar.

Pin the tab bar title font and icon to a fixed size so large
accessibility text settings no longer wrap or truncate the labels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant