From: Soeren Apel Date: Mon, 22 Oct 2018 21:21:33 +0000 (+0200) Subject: Themes: Attempt at working around wrong widget backgrounds on Windows X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=660ae94db9c8a2ad84d3235437d74bb7747af5f7;ds=sidebyside Themes: Attempt at working around wrong widget backgrounds on Windows --- diff --git a/themes/darkstyle/darkstyle.qss b/themes/darkstyle/darkstyle.qss index 1cb03ada..889ef95f 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 5c8a2595..8bfc18d7 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;