[GH-ISSUE #4752] Launcher Settings: Language row crushes the label column — text wraps a word per line, picker floats mid-screen #1440

Closed
opened 2026-11-02 15:46:57 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @socksprox on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4752

🤖 Filed by socksprox's AI agent (Devin, SWE-2 High), not by socksprox personally.

What happens

In the launcher, Settings → Launcher → Language renders broken:

  • The label column is squeezed to ~50 px wide, so the heading wraps mid-word ("La / ng / ua / ge") and the explainer ("System follows your computer's language: English here. …") wraps to one or two words per line.
  • That makes the row taller than the window. Because the row is items_center, the nine-option segmented control (System · English · Français · Русский · Deutsch · 简体中文 · Español · Українська · Polski) is vertically centered in it — it looks like it floats in the middle of the screen with a huge empty gap around it.

Reported with a screenshot: the text column sits at the far left, a few characters per line, filling the whole viewport height; the picker bar sits centered both ways.

Why

language_row (launcher/src/language_page.rs) builds a normal index_row → slot_row (launcher/src/main.rs): a horizontal flex row with gap(16), a left column that is flex_1 + min_w_0 (name + detail), and the control in the right slot. segments() is flex_none — it never shrinks — and with nine languages its intrinsic width is ~850–900 px. That leaves almost nothing for the left column, which shrinks to min-content and wraps per word; the row's height explodes and items_center drops the picker in the middle of it.

Other rows use the same pattern but with small controls (a switch, a button, the 3-option Appearance picker), so nothing else gets wide enough to trigger it.

Ideas

  • Let this row wrap: when the picker doesn't fit beside the text, drop it to its own line (flex_wrap, or stack the picker under the label for this row).
  • Or give the label column a min_w it can't be squeezed below and let the picker wrap/scroll.
  • Or cap the picker's intrinsic width (two rows of segments, or a dropdown — a select also scales better as more languages land).

Repro

Open the launcher's Settings page at the default window size and scroll to Launcher → Language.

Originally created by @socksprox on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4752 > 🤖 Filed by socksprox's AI agent (Devin, SWE-2 High), not by socksprox personally. ## What happens In the launcher, **Settings → Launcher → Language** renders broken: - The label column is squeezed to ~50 px wide, so the heading wraps mid-word ("La / ng / ua / ge") and the explainer ("System follows your computer's language: English here. …") wraps to one or two words per line. - That makes the row taller than the window. Because the row is `items_center`, the nine-option segmented control (System · English · Français · Русский · Deutsch · 简体中文 · Español · Українська · Polski) is vertically centered in it — it looks like it floats in the middle of the screen with a huge empty gap around it. Reported with a screenshot: the text column sits at the far left, a few characters per line, filling the whole viewport height; the picker bar sits centered both ways. ## Why `language_row` (`launcher/src/language_page.rs`) builds a normal `index_row` → `slot_row` (`launcher/src/main.rs`): a horizontal `flex` row with `gap(16)`, a left column that is `flex_1 + min_w_0` (name + detail), and the control in the right slot. `segments()` is `flex_none` — it never shrinks — and with nine languages its intrinsic width is ~850–900 px. That leaves almost nothing for the left column, which shrinks to min-content and wraps per word; the row's height explodes and `items_center` drops the picker in the middle of it. Other rows use the same pattern but with small controls (a switch, a button, the 3-option Appearance picker), so nothing else gets wide enough to trigger it. ## Ideas - Let this row wrap: when the picker doesn't fit beside the text, drop it to its own line (`flex_wrap`, or stack the picker under the label for this row). - Or give the label column a `min_w` it can't be squeezed below and let the picker wrap/scroll. - Or cap the picker's intrinsic width (two rows of segments, or a dropdown — a select also scales better as more languages land). ## Repro Open the launcher's Settings page at the default window size and scroll to Launcher → Language.
Author
Owner

@josegil1909 commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6535727012 --> @josegil1909 commented on GitHub (Oct 30, 2026): 🤖 Agent: /claim
Author
Owner

@josegil1909 commented on GitHub (Oct 31, 2026):

🤖 Agent: /unclaim. The fix is ready in #4783; this frees my claim slot, and the pull request stays open.

<!-- gh-comment-id:6536953428 --> @josegil1909 commented on GitHub (Oct 31, 2026): 🤖 Agent: /unclaim. The fix is ready in #4783; this frees my claim slot, and the pull request stays open.
Author
Owner

@josegil1909 commented on GitHub (Oct 31, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6536965252 --> @josegil1909 commented on GitHub (Oct 31, 2026): 🤖 Agent: /unclaim
Author
Owner

@kacpherek commented on GitHub (Oct 31, 2026):

Fixed by #4148: the Language row is now a dropdown, so the label no longer wraps one word per line. Reopen with the launcher version and a screenshot if it still looks broken.

<!-- gh-comment-id:6541527430 --> @kacpherek commented on GitHub (Oct 31, 2026): Fixed by #4148: the Language row is now a dropdown, so the label no longer wraps one word per line. Reopen with the launcher version and a screenshot if it still looks broken.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1440
No description provided.