-
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: allow to configure screen/themes scale factor
Added new options to the Preferences dialog, to configure screens/themes scale factor. If the UI is using the System theme (default), configure Qt scale options (needs UI restart): QT_AUTO_SCREEN_SCALE_FACTOR (default True) QT_SCREEN_SCALE_FACTORS (If auto scale is False, use this value(s)) The user can configure different scale factors for multiple screens, by separating values with ; (1;1.5, etc...) https://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt If the UI is using a qt-material theme, you can configure the "density" scale of the theme: https://github.com/UN-GCPDS/qt-material?tab=readme-ov-file#density-scale https://github.com/evilsocket/opensnitch/wiki/GUI-known-problems#gui-size-problems-on-4k-monitors (cherry-picked from bf9801f)
- Loading branch information
1 parent
15fcf67
commit 362c0da
Showing
6 changed files
with
613 additions
and
383 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
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
Oops, something went wrong.