Skip to content

Comments

Implement scalable UI and port to imgui 1.92.x#348

Merged
bgribble merged 29 commits intomasterfrom
feature/313-scaling-controls
Sep 23, 2025
Merged

Implement scalable UI and port to imgui 1.92.x#348
bgribble merged 29 commits intomasterfrom
feature/313-scaling-controls

Conversation

@bgribble
Copy link
Owner

@bgribble bgribble commented Jul 11, 2025

ImGui 1.92 introduces much better font scaling support and has breaking changes. I think this is a good opportunity to implment #313 while porting.

User-visible changes:

  • A -m/--magnificationcommand line arg to scale the entire UI. 1.0 is the default, greater than 1.0 makes the fonts bigger and so on.
  • A Window > Magnification (DPI) menu option to change the magnification on the fly
  • Default fonts throughout the app are scalable and not pixel fonts so the overall appearance is a lot smoother

Note that changing the magnification doesn't change the canvas zoom factor to match until you do C-0 to reset.

bgribble added 29 commits July 11, 2025 16:20
@bgribble bgribble merged commit 5fb11ff into master Sep 23, 2025
4 checks passed
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