Skip to content

fix(settings): cap the settings dialog at its side-by-side layout size - #2047

Merged
l0gicgate merged 1 commit into
lgse:mainfrom
viniciosrab:fix/2046-settings-dialog-size
Nov 3, 2026
Merged

l0gicgate merged 1 commit into
lgse:mainfrom
viniciosrab:fix/2046-settings-dialog-size

Conversation

@viniciosrab

@viniciosrab viniciosrab commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Settings panel took its size from the window, up to 1400×1024, so in a maximized or tiled window on a 1080p screen it covered almost everything. On a 1080p screen, the panel was about 1400×1000, and the space beyond the content column was empty margin.

The panel now stops growing once the side-by-side layout fits. Its width is capped at the content reflow breakpoint (COMPACT_CONTENT_BREAKPOINT, 1250 logical px), and its height is capped at 800 px. Deriving the width from the breakpoint keeps the desktop layout in use at the cap, and the two values cannot drift apart. Windows smaller than the cap still shrink the panel exactly as before, and the reflow breakpoints are unchanged.

Capping it lower, around 1000 px as the issue suggested, would leave the panel in the stacked layout at every window size. Lowering the breakpoint to go with it squeezes the inline controls, for example the Metric/Imperial switch breaks mid-word at about 1100 px.

Visual evidence

Captured in the private QA Xvfb (1440×900 screen, maximized window). The images are hosted in a gist because gh cannot upload PR attachments.

Before (1392×852 panel) After (1250×800 panel)
before general after general
before appearance after appearance

Default 1200×760 window, unchanged from before (the panel was already smaller than the cap):

after default window

How to test

  1. On a 1920×1080 screen, maximize or tile Strata to full width.
  2. Open Settings (Ctrl+,).
  3. Shrink the window below about 1300×850 and open Settings again.

Expected result: In step 2 the panel is 1250×800 and centered, with the file browser visible around it, and the rows keep their controls inline. In step 3 the panel shrinks with the window, as before.

Related issue

Closes #2046

The dialog grew with the window up to 1400x1024, so on a 1080p screen it
covered nearly the whole window with empty margins. Cap the width at the
content reflow breakpoint and the height at 800 px; smaller windows still
shrink it as before.

Refs lgse#2046
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Settings dialog grows with the window and covers nearly all of it on a 1080p screen

2 participants