Skip to content

Fixed DPI Scaling issue#252

Merged
michaelsakharov merged 1 commit intoProwlEngine:New-Editorfrom
xZekro51:fix/dpi-scaling-fix
Apr 19, 2026
Merged

Fixed DPI Scaling issue#252
michaelsakharov merged 1 commit intoProwlEngine:New-Editorfrom
xZekro51:fix/dpi-scaling-fix

Conversation

@xZekro51
Copy link
Copy Markdown

Fixes the DPI Scaling issue in the editor, especially when resizing the editor window.

  • To load the System DPI scale, it relies on the currently unexposed method "glfwGetWindowContentScale" from GLFW (which is loaded by Silk) and should work across platforms.
  • A variable called "UserScale" is added in the EditorTheme as an additional multiplier for the user to tune the Scaling as they like.

@michaelsakharov michaelsakharov merged commit 0280a0c into ProwlEngine:New-Editor Apr 19, 2026
1 of 2 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.

2 participants