From 3d4d0d2aef8441394994538f91942e3a92d8e1fb Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 14 Feb 2022 17:55:22 +0000 Subject: [PATCH] Moved QScrollArea bg styling to global QSS --- .../UserInterfaces/InsightWindow/Stylesheets/Global.qss | 5 +++++ .../InsightWindow/Stylesheets/InsightWindow.qss | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss index cb2ebc82..208fb242 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/Global.qss @@ -103,6 +103,11 @@ QScrollBar::sub-line:vertical { background: none; } +QScrollArea, +QScrollArea .QWidget { + background-color: transparent; +} + QComboBox, QLineEdit { background-color: #2F2F2D; diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss index 2101df88..f3014e23 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss @@ -255,10 +255,6 @@ QScrollBar::sub-line:vertical { border: none; } -#target-registers-side-pane QScrollArea { - background-color: transparent; -} - #target-registers-side-pane #item-container { background-color: transparent; }