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

High DPI Header & Footer Scaling #502

Merged
merged 4 commits into from Nov 21, 2020
Merged

High DPI Header & Footer Scaling #502

merged 4 commits into from Nov 21, 2020

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Nov 21, 2020

This PR is a fix to issue #499, where the headers and footers in the editor and viewer were clipped on high-DPI monitors. This was caused by the size hint of the underlying widget not scaling with the monitor. A minimum height requirement is now calculated based on the height of the label and a fixed margin that is manually scaled by the UI scale factor. This forces a minimum size that is big enough to always show the content.

In the same PR, a few scaling issues with margins on high-DPI screens in the form layouts have been fixed as well.

@vkbo vkbo merged commit 6d630d3 into main Nov 21, 2020
@vkbo vkbo deleted the issue499_editor_scaling branch November 21, 2020 12:47
@vkbo vkbo linked an issue Dec 13, 2020 that may be closed by this pull request
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.

Status lines get truncated (screen scaling issue)
1 participant