From 660ae94db9c8a2ad84d3235437d74bb7747af5f7 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Mon, 22 Oct 2018 23:21:33 +0200 Subject: [PATCH] Themes: Attempt at working around wrong widget backgrounds on Windows --- themes/darkstyle/darkstyle.qss | 3 +++ themes/qdarkstyle/style.qss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/themes/darkstyle/darkstyle.qss b/themes/darkstyle/darkstyle.qss index 1cb03ad..889ef95 100644 --- a/themes/darkstyle/darkstyle.qss +++ b/themes/darkstyle/darkstyle.qss @@ -1,3 +1,6 @@ +QScrollArea { + background-color: transparent; /* Workaround for widget background on Windows, see https://stackoverflow.com/questions/25012224/qt-widget-background-differs-from-linux-to-windows/25088075 */ +} QToolTip{ color:#ffffff; background-color:palette(base); diff --git a/themes/qdarkstyle/style.qss b/themes/qdarkstyle/style.qss index 5c8a259..8bfc18d 100644 --- a/themes/qdarkstyle/style.qss +++ b/themes/qdarkstyle/style.qss @@ -1,3 +1,7 @@ +QScrollArea { + background-color: transparent; /* Workaround for widget background on Windows, see https://stackoverflow.com/questions/25012224/qt-widget-background-differs-from-linux-to-windows/25088075 */ +} + QToolTip { border: 1px solid #76797C; background-color: #5A7566; -- 2.30.2