From 0ba0f11c4a386e54e3e3d51b1058723bc42cad3f Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 27 Sep 2024 19:43:39 +0200 Subject: [PATCH] Qt: Try to fix classic stylesheet after Qt 6.7.3 update --- bin/GuiConfigs/Classic (Bright).qss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bin/GuiConfigs/Classic (Bright).qss b/bin/GuiConfigs/Classic (Bright).qss index 9c4c9d441e..143e42df94 100644 --- a/bin/GuiConfigs/Classic (Bright).qss +++ b/bin/GuiConfigs/Classic (Bright).qss @@ -20,6 +20,9 @@ QToolBar#mw_toolbar::separator { margin-top:2px; margin-bottom: 2px; } +QToolButton:disabled { + color: #787878; +} QSlider#sizeSlider::groove:horizontal { border: 0em solid transparent; height: .3em; @@ -147,3 +150,16 @@ QLabel#l_controller { #game_list_grid_item[focus="true"] #game_list_grid_item_title_label { color: #fff; } + +/* Top menu bar (Workaround for transparent menus in Qt 6.7.3) */ +QMenu { + color: #000; + background-color: #F0F0F0; + alternate-background-color: #f2f2f2; +} +QMenu::item:selected { + background: #90C8F6; +} +QMenu::item:disabled { + color: #787878; +}