diff --git a/GUI/View/Instrument/DetectorEditor.cpp b/GUI/View/Instrument/DetectorEditor.cpp index 86956cf85623705a19719fc41ff1181e0d4a575b..d64a7438313350bf2d70a79de9dccd35be23546f 100644 --- a/GUI/View/Instrument/DetectorEditor.cpp +++ b/GUI/View/Instrument/DetectorEditor.cpp @@ -30,9 +30,6 @@ void installGroup(QGroupBox* groupBox) { auto* label = new QLabel(groupBox); label->setObjectName("GroupBoxToggler"); - if (appSettings->currentStyle() == ApplicationSettings::Style::native) - label->setStyleSheet( - "QLabel { border: none; text-align: left; font: bold; padding: 5px}"); label->setText(groupBox->title()); label->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding); diff --git a/GUI/styles/Base.stylesheet b/GUI/styles/Base.stylesheet index 9bd0b6eba012395ca098167d8aebdfe108a4b74f..0398d1aec93e3a52082a866c612a57f7c139631f 100644 --- a/GUI/styles/Base.stylesheet +++ b/GUI/styles/Base.stylesheet @@ -146,6 +146,11 @@ QGroupBox::title{ } +QLabel { + padding: 2px; +} + + LayerForm { margin-top:0px; @@ -390,7 +395,9 @@ QTabWidget::tab-bar } -QToolButton{border: none;} +QToolButton{ + border: none; +} QToolButton::menu-arrow{ width:0px; } @@ -400,23 +407,28 @@ QToolButton::menu-indicator{ QToolButton#ViewSelectionButton { border: none; - color: white; background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #153b4c, stop : 1 #347a9c); + color: white; + background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #153b4c, stop : 1 #347a9c); } QToolButton#ViewSelectionButton:pressed { - color: white; background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #97a8b0, stop: 1 #dae7ed); + color: white; + background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #97a8b0, stop: 1 #dae7ed); } QToolButton#ViewSelectionButton:hover { - color: white; background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #254b5c, stop: 1 #448aac); + color: white; + background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #254b5c, stop: 1 #448aac); } QToolButton#ViewSelectionButton:checked { - color: white; background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #2b899c, stop : 1 #2abdda); + color: white; + background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #2b899c, stop : 1 #2abdda); } QToolButton#ViewSelectionButton:disabled { - color: dimgray; background-color: transparent; + color: dimgray; + background-color: transparent; border-right: 1px solid rgba(100,100,100,25%); }