From 8e8a2393b16b6244b7f28f761effad16a9a0d0ca Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 23 Dec 2016 09:38:32 -0500 Subject: Adjust the QMenu padding to use "em" values instead of "px" values. This should make it automatically adjust for high DPI screens. --- src-qt5/core/themes/Glass.qss.template | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src-qt5') 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; } -- cgit