Skip to content

fix: keep segmented settings pickers inside their rows - #406

Merged
lzhgus merged 1 commit into
mainfrom
fix/export-quality-picker-overflow
Nov 17, 2026
Merged

lzhgus merged 1 commit into
mainfrom
fix/export-quality-picker-overflow

Conversation

@lzhgus

@lzhgus lzhgus commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Fixes #405

Problem

In Settings → Export, the Export Quality picker had a fixed width of 220pt. A segmented control never shrinks below what its labels need, so in languages with longer labels (German "Social Media", French "Réseaux sociaux", Spanish, Brazilian Portuguese, Russian) it was wider than its frame. SwiftUI centers the oversized control in the frame, so it covered the row's sublabel on the left and ran past the card edge on the right.

Close After in Settings → Quick Access had the same fixed-width problem on a smaller scale: in German it stuck out about 9pt past the other controls on the right.

Fix

  • Export Quality now puts the picker below the label and sublabel, the same layout Preview Position already uses. The picker gets the full row width, which fits every language.
  • Close After sizes to its labels instead of a fixed 180pt.

The Export Quality row is one line taller in every language, English included.

Testing

Ran the Debug build in German, Russian and English and checked both tabs: no overlap, and the controls line up with the others on the right. No unit tests cover this layout.

🤖 Generated with Claude Code

The Export Quality picker had a fixed 220pt width. Localized labels
need more than that, so the control spilled over the row's sublabel on
the left and past the card edge on the right. It now sits below the
label, like Preview Position, and has the full row width.

Close After had the same fixed-width problem on a smaller scale and now
sizes to its labels.

Fixes #405

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@lzhgus
lzhgus merged commit 2326b18 into main Nov 17, 2026
5 checks passed
@lzhgus
lzhgus deleted the fix/export-quality-picker-overflow branch November 17, 2026 04:33
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.

[Bug] Settings/Export Exportquality switch is overlapping text

1 participant