Stylesheet toolbar background (#18831)

This commit is contained in:
PaddleStroke
2025-01-13 18:21:17 +01:00
committed by GitHub
parent c32d7943b4
commit a91db3f876
2 changed files with 18 additions and 8 deletions

View File

@@ -104,8 +104,7 @@ Main window
==================================================================================================*/
QMainWindow,
QDialog,
QDockWidget,
QToolBar {
QDockWidget {
background-color: #333333; /* main background color */
}
@@ -886,6 +885,12 @@ QToolBar {
/* font-weight: bold; */
}
/* fix background color for toolbars that are the on menubar. */
QToolBar:only-one {
background-color: transparent;
/* margin-top: -3px; */
}
QToolBar:horizontal {
border-bottom: 1px solid #020202;
padding-top: 3px;
@@ -1878,7 +1883,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabBar, QDockWidget QTabBar {
qproperty-drawBase: 0;
background-color: #333333;
/* background-color: #333333; */
/* left: 5px; move to the right by 5px - removed for fix */
}
@@ -2810,4 +2815,4 @@ QTreeView::item:!selected:hover#groupsTreeView {
color: white;
background-color: @ThemeAccentColor1;
margin-left:-8px;
} */
} */

View File

@@ -104,8 +104,7 @@ Main window
==================================================================================================*/
QMainWindow,
QDialog,
QDockWidget,
QToolBar {
QDockWidget {
background-color: #f0f0f0; /* main background color */
}
@@ -886,6 +885,12 @@ QToolBar {
/* font-weight: bold; */
}
/* fix background color for toolbars that are the on menubar. */
QToolBar:only-one {
background-color: transparent;
/* margin-top: -3px; */
}
QToolBar:horizontal {
border-bottom: 1px solid #ababab;
padding-top: 3px;
@@ -1875,7 +1880,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabBar, QDockWidget QTabBar {
qproperty-drawBase: 0;
background-color: #f0f0f0;
/* background-color: #f0f0f0; */
/* left: 5px; move to the right by 5px - removed for fix */
}
@@ -2807,4 +2812,4 @@ QTreeView::item:!selected:hover#groupsTreeView {
color: white;
background-color: @ThemeAccentColor1;
margin-left:-8px;
} */
} */