-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On first run, try to guess a good default icon size based on screen DPI
Otherwise icons are miniscule when loading QGIS on hidpi screens, and users must know that they need to manually change the icon size to make it usable...
- Loading branch information
1 parent
dbd50b4
commit 71b9ce2
Showing
2 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71b9ce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea to set the icon size based on fontMetrics.
Do you know if that takes system default font sizes into account? If yes, wouldn't it make sense to always use this logic (also for low res displays) so people with visual impairment and increased font size also get bigger icons by default?
71b9ce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable to me. Let me test on some low res displays tomorrow and confirm.