Fix styling of vertical scrollbar in tree views

This commit is contained in:
2025-05-08 20:16:41 -04:00
parent 2b4a8a97e1
commit 0a458a80e0
12 changed files with 954 additions and 916 deletions

View File

@@ -137,7 +137,6 @@ QTreeView QHeaderView::section {
background-color: #2b2b2b;
border: 0;
font-weight: 500;
margin-top: -5px;
}
QTreeView::item:hover {
@@ -152,6 +151,16 @@ QTreeView::item:selected {
background-color: #1a73e8;
}
QTreeView QScrollBar:vertical {
margin-top: 16px;
}
QTreeView QScrollBar::sub-line:vertical {
border: 0;
background: #2b2b2b;
height: 16px;
}
QTextBrowser {
background-color: #1a1a1a;
selection-background-color: #1a73e8;
@@ -246,7 +255,6 @@ QComboBox QAbstractItemView::item:hover {
QScrollBar:vertical {
border: 0;
border-radius: 8px;
margin-top: 16px;
padding: 2px 0 2px 0;
background-color: #222222;
}
@@ -270,9 +278,7 @@ QScrollBar::add-line:vertical {
}
QScrollBar::sub-line:vertical {
border: 0;
background: #2b2b2b;
height: 16px;
height: 0;
subcontrol-position: top;
subcontrol-origin: margin;
}