Skip to content

Mobile: „În așteptare” no longer shows only „În” on Android - #753

Merged
radulescuandrew merged 1 commit into
developfrom
vic2/android-label-clip
Nov 28, 2026
Merged

radulescuandrew merged 1 commit into
developfrom
vic2/android-label-clip

Conversation

@radulescuandrew

Copy link
Copy Markdown
Contributor

On a Samsung Galaxy S24 the status chip on event cards and the „În așteptare” segment on Ore showed only „În”.

The label's box had room for the whole text, but Android broke the line after „În”, and the box, one line tall, showed only the first word. It is not the text width: giving the label more room, or drawing it without font scaling, changed nothing. It is not uppercase, fontWeight or letterSpacing either (none are set on these labels).

Fix: a short label (StatusChip, and SegmentedControl when it is not stacked) keeps its words together with non-breaking spaces. A stacked segment still wraps normally.

Tested on Samsung Galaxy S24 (font size 0.8) and iPhone 14 Pro.

On a Samsung S24 the status chip and the hours segment broke the label after „În” although
their box had room for the whole label, and the box, one line tall, showed only „În”. The text is
not too wide (more room and drawing it unscaled changed nothing), Android breaks it anyway. A short
label (status chip, segment that is not stacked) now keeps its words together with non-breaking
spaces.
@radulescuandrew radulescuandrew self-assigned this Nov 28, 2026
@radulescuandrew
radulescuandrew merged commit 934721e into develop Nov 28, 2026
5 checks passed
@radulescuandrew
radulescuandrew deleted the vic2/android-label-clip branch November 28, 2026 09:47
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