Skip to content

Add persistent editor font size controls - #41

Open
kevinherron wants to merge 1 commit into
omacom:masterfrom
kevinherron:codex/font-size-settings
Open

Add persistent editor font size controls#41
kevinherron wants to merge 1 commit into
omacom:masterfrom
kevinherron:codex/font-size-settings

Conversation

@kevinherron

Copy link
Copy Markdown

Omawrite follows desktop text scaling, but it does not provide a way to adjust the editor text independently. This adds Ctrl++ and Ctrl+= to increase the editor font size, Ctrl+- to decrease it, and Ctrl+0 to restore the shipped 20px size. Adjustments use 2px steps and remain within 10–48px.

Backend owns the unscaled base size through a Q_PROPERTY and persists it under editor/fontSize. QML continues to apply the existing Omarchy and GNOME desktop text scaling on top of that base size.

The keyboard shortcut dialog and README document the controls.

Persist the unscaled editor base size so desktop text scaling remains
independent and continues to apply on top of the user's preference.
frivas pushed a commit to frivas/omawrite that referenced this pull request Aug 31, 2026
Resolved against PR omacom#41: keep the configurable editor font size, and take PR
omacom#18's viewport clamp and its test verbatim.
frivas added a commit to frivas/omawrite that referenced this pull request Aug 31, 2026
Resolved against PR omacom#19 so the zoom shortcuts use StandardKey (Cmd on macOS)
and the shortcut reference keeps rendering nativeText.
frivas added a commit to frivas/omawrite that referenced this pull request Aug 31, 2026
Resolved against PR omacom#41: keep the configurable editor font size, and take PR
omacom#18's viewport clamp and its test verbatim.
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.

1 participant