diff options
author | Ken Moore <ken@ixsystems.com> | 2016-12-23 09:38:32 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-12-23 09:38:32 -0500 |
commit | 8e8a2393b16b6244b7f28f761effad16a9a0d0ca (patch) | |
tree | b53ac79d2ad0f5d2ebc03e24d46669ede2f5218f /src-qt5 | |
parent | Fix an issue with ZFS snapshot finding where the directory path of interest n... (diff) | |
download | lumina-8e8a2393b16b6244b7f28f761effad16a9a0d0ca.tar.gz lumina-8e8a2393b16b6244b7f28f761effad16a9a0d0ca.tar.bz2 lumina-8e8a2393b16b6244b7f28f761effad16a9a0d0ca.zip |
Adjust the QMenu padding to use "em" values instead of "px" values. This should make it automatically adjust for high DPI screens.
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/themes/Glass.qss.template | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src-qt5/core/themes/Glass.qss.template b/src-qt5/core/themes/Glass.qss.template index d594d25e..13f133fa 100644 --- a/src-qt5/core/themes/Glass.qss.template +++ b/src-qt5/core/themes/Glass.qss.template @@ -69,15 +69,11 @@ QMenuBar::item:disabled{ color: %%TEXTDISABLECOLOR%%; } -/*QMenu::item{ - border: 2px solid #808080; -}*/ - QMenu::item{ background: transparent; border: 1px solid transparent; color: %%TEXTCOLOR%%; - padding: 4px 30px 4px 20px; + padding: 4px 2em 4px 1em; margin-left: 3px; margin-right: 3px; } |