]> sigrok.org Git - pulseview.git/commitdiff
Themes: Attempt at working around wrong widget backgrounds on Windows
authorSoeren Apel <redacted>
Mon, 22 Oct 2018 21:21:33 +0000 (23:21 +0200)
committerUwe Hermann <redacted>
Wed, 24 Oct 2018 22:08:42 +0000 (00:08 +0200)
themes/darkstyle/darkstyle.qss
themes/qdarkstyle/style.qss

index 1cb03ada94bf2a64bec59721df8dd1cc17c43d05..889ef95f4ded61d1b9c7c9c907cbd1c812e6b6f7 100644 (file)
@@ -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);
index 5c8a2595a8d3a3733ed34aa9a5bc4a4355f39a00..8bfc18d7edcfe5da94ebdfbabde7ae3816e9c625 100644 (file)
@@ -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;