Skip to content

fix(bookcontent): prevent single-word bar labels from wrapping an orphan letter#487

Merged
kdroidFilter merged 1 commit into
masterfrom
fix/vertical-bar-label-wrapping
Jun 14, 2026
Merged

fix(bookcontent): prevent single-word bar labels from wrapping an orphan letter#487
kdroidFilter merged 1 commit into
masterfrom
fix/vertical-bar-label-wrapping

Conversation

@kdroidFilter

Copy link
Copy Markdown
Owner

Summary

  • Single-word lateral-bar button labels (e.g. מפרשים) no longer wrap an orphan final letter onto a second line at fractional display scaling (e.g. 175%). They now render on a single line with auto-shrink (10sp → 7sp only when needed) via BasicText + TextAutoSize.
  • Multi-word labels (e.g. תוכן עניינים) keep their natural two-line wrap at the space.

Test plan

  • Open a book; verify the מפרשים button label stays on one line at 100% and 175% display scaling.
  • Verify תוכן עניינים still wraps onto two lines.
  • Confirm short labels are unchanged at 10sp.

@kdroidFilter kdroidFilter merged commit 6de5b8f into master Jun 14, 2026
7 checks passed
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