From 5f075bb49009d96cca00cb26ab1c60f92e4cf99d Mon Sep 17 00:00:00 2001 From: lat9nq Date: Sat, 25 Jul 2020 04:20:55 -0400 Subject: qt_themes: Set background color to transparent for Dark and Midnight Blue themes Fixes the override highlights in per-game settings from looking weird when viewed on the Dark or Midnight Blue themes by setting QLabels to have transparent backgrounds by default. Also apparently adds a newline to the end of the Dark theme's qss file. --- dist/qt_themes/qdarkstyle/style.qss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dist/qt_themes/qdarkstyle') diff --git a/dist/qt_themes/qdarkstyle/style.qss b/dist/qt_themes/qdarkstyle/style.qss index 2d5c9761f..2926a05fa 100644 --- a/dist/qt_themes/qdarkstyle/style.qss +++ b/dist/qt_themes/qdarkstyle/style.qss @@ -654,7 +654,11 @@ QAbstractSpinBox::down-arrow:hover { image: url(:/qss_icons/rc/down_arrow.png); } -QLabel, +QLabel { + border: 0; + background: transparent; +} + QTabWidget { border: 0; } @@ -1269,4 +1273,4 @@ QPushButton#RendererStatusBarButton:checked { QPushButton#RendererStatusBarButton:!checked{ color: #00ccdd; -} \ No newline at end of file +} -- cgit v1.2.3