Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

qt_themes: Set background color to transparent for Dark and Midnight Blue themes

lat9nq582ac7995836
diff --git a/dist/qt_themes/qdarkstyle/style.qss b/dist/qt_themes/qdarkstyle/style.qss
index 2d5c9761f6..2926a05fa9 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
+}
diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
index be645c9076..9c24b0d076 100644
--- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
+++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
@@ -875,7 +875,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
--------------------------------------------------------------------------- */
QLabel {
- background-color: #19232D;
+ background: transparent;
border: 0px solid #32414B;
padding: 2px;
margin: 0px;
@@ -883,7 +883,6 @@ QLabel {
}
QLabel:disabled {
- background-color: #19232D;
border: 0px solid #32414B;
color: #787878;
}