Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle dpi changes #569

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Handle dpi changes #569

merged 2 commits into from
Feb 16, 2024

Conversation

jkvatne
Copy link
Contributor

@jkvatne jkvatne commented Feb 13, 2024

When the form is dragged from one monitor to another with different dpi settings (or scale on windows) the form was not sized correctly. This change updates the scal factor when the form is moved.

When the form is dragged from one monitor to another with different dpi settings
(or scale on windows) the form was not sized correctly.
This change updates the scal factor when the form is moved.
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have a multi monitor setup with different resolutions, but the change seems logical. Good work.

@spytheman spytheman merged commit da77554 into vlang:master Feb 16, 2024
8 checks passed
@jkvatne jkvatne deleted the fix-dpi-change branch February 19, 2024 09:24
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