From 3f825b7111c238107976f5e9375ab5bf521eed7a Mon Sep 17 00:00:00 2001 From: Lars Toenning Date: Mon, 11 Mar 2024 00:00:37 +0100 Subject: [PATCH] fix(qss): Set menu background color As a black text color is enforced for the menu, we should also enforce a white background for a good contrast. This is more or less a workaround as this does not respect any system style settings (dark mode, ...). This fix will become obsolete once tackling #138 (removing/reducing stylesheet). Fixes #139 --- src/blackgui/share/qss/stdwidget.qss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/blackgui/share/qss/stdwidget.qss b/src/blackgui/share/qss/stdwidget.qss index 1307e40be..4ad2a50da 100644 --- a/src/blackgui/share/qss/stdwidget.qss +++ b/src/blackgui/share/qss/stdwidget.qss @@ -489,6 +489,7 @@ BlackGui--CDockWidgetInfoArea > QMenu > QMenuWidget { /* reset menu style */ QMenu { color: black; + background-color: white; font-style: normal; font-weight: normal; padding: 5px;