Repository navigation
feat(desktop): add persistent UI scaling - #705
Open
katulevskiy wants to merge 1 commit into
Open
katulevskiy wants to merge 1 commit into
katulevskiy wants to merge 1 commit into
Conversation
RemingtonWilcox
added a commit
to RemingtonWilcox/zeron
that referenced
this pull request
Oct 5, 2026
Brings katulevskiy's Settings > Appearance > Interface scale (50-200%) onto current main, plus plain zoom shortcuts. - Conflicts: shortcuts.rs now refuses UI-scale combos inside main's refusal(); shell.rs keeps main's merge_changes-based pull_settings and settings.rs adds ui_scale_percent to its merge list. - zui: patch to zeronsh/zui 3569fc6f, GitHub's merge of zui#14 into main's 667d0aaf, so main's per-edge fade bands stay. The git@ user in the URL makes Cargo accept a patch from the same repository. - Ctrl+= / Ctrl+- / Ctrl+0 (Cmd on macOS) zoom alongside zeronsh#705's Ctrl+Shift chords; the Appearance hint names the plain ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add persistent whole-interface scaling in Settings → Appearance → Interface scale. The minus/plus controls and
Ctrl+Shift+Plus/Ctrl+Shift+Minusadjust the UI from 50% to 200% in 10-point steps;Ctrl+Shift+0resets to 100%. macOS also accepts Command equivalents.Text, icons, spacing, and panes scale together without changing font preferences or native window dimensions. The device-local preference saves immediately and restores on startup. Pointer hit testing, pixel scrolling, IME coordinates, and native browser placement follow the selected scale. Reserved zoom shortcuts survive keymap edits and work from settings and a focused conversation composer.
Supporting dependency
Depends on zeronsh/zui#14, which adds independent GPUI window scaling. A temporary pinned Cargo patch makes this branch build and keeps GPUI and gpui-base on the same types. After that change merges, replace the patch with the upstream revision before merging this PR.
Validation
cargo test --locked -p zeron-ui --lib -- --test-threads=1).cargo check --locked -p zeronpassed.Screenshots
The same 1440 × 1080 native app window at each scale. Captured from the production shell using the reproducible fixture documented in docs/ui-scale.md.
Light · 120%:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.