Repository navigation
feat(app): zoom the desktop app's text and controls from Settings - #643
Merged
Merged
Conversation
Settings → General → Zoom (90 % to 200 %, saved as [appearance] zoom) draws every Ketch window larger or smaller: KetchTheme multiplies the density, so text, icons, spacing and controls grow together and layouts pick their tier from the zoomed width. The macOS title bar keeps the traffic lights clear at any zoom. The tray menu, which Java draws itself on Windows and Linux, follows the zoom too, starting from the 12 px Windows uses for its own menus rather than Java's 11 px. Java's menus on Windows only take its own fonts, so its family stays Java's sans-serif. Phones follow the system's display and text size and browsers zoom the web app, so only the desktop app offers it. Fixes #600
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
This was referenced Oct 24, 2026
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.
Fixes #600: the desktop UI's text is too small on high-resolution displays, and the tray menu's text doesn't match the app's.
What changes
[appearance] zoom(a percentage).KetchTheme(zoom)multipliesLocalDensity. Text, icons, spacing, controls, menus and tooltips all grow together, and layouts choose their tier from the zoomed width. Window sizes stay as they are.WindowChrome.zoomedkeeps the macOS traffic lights clear at any zoom.zoomloads leniently.config.tomlunreadable.WFontConfigurationfalls back tosansseriffor any other name. On Chinese Windows that means Arial plus SimSun, which is why the menu looked different.zoomSupported). Phones follow the system's display and text size, and browsers zoom the web app themselves.Snapshots
Tests
AppearanceConfigTest: round trip, clamping, unreadable values. Passed on JVM and the iOS simulator.AppSettingsControllerTest:saveZoomclamps and keeps the rest of[appearance].WindowChromeTest: the title-bar spacing at zoom 2 and 0.5.KetchThemeZoomTest: a render test showing that zoom scales the content and keeps its state.TrayMenuFontTest: the tray font size at each zoom.SettingsSearchRenderTest: the new search entry names a row that is on the General page.:app:shared:jvmTest(2,446 tests) and:app:desktop:testboth pass.:app:sharedcompiles for wasmJs, iOS and Android.ZoomSnapshotsrenders the app at 100 % and 150 %.Not verified: the tray menu on a real Windows machine. The change there only sets the AWT
PopupMenufont.