Skip to content

Commit 629d1c6

Browse files
improv: add styling for QHeaderView
1 parent 7c4c963 commit 629d1c6

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

pupgui2/resources/themes/steamdeck.qss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ QWidget {
44
font-weight: 300;
55
}
66

7-
QPushButton, QListWidget, QComboBox, QToolButton, QLineEdit {
7+
QPushButton, QListWidget, QComboBox, QToolButton, QLineEdit, QHeaderView::section {
88
background-color: #282D36;
99
border: none;
1010
border-radius: 2px;
@@ -27,6 +27,23 @@ QPushButton::disabled {
2727
background-color: #1D2026;
2828
}
2929

30+
QHeaderView {
31+
padding: 1px;
32+
}
33+
QHeaderView::section:horizontal {
34+
padding: 4px;
35+
margin-left: 0px;
36+
margin-right: 2px;
37+
}
38+
QHeaderView::section:vertical {
39+
padding: 4px;
40+
margin-top: 0px;
41+
margin-bottom: 2px;
42+
}
43+
QTableView::item {
44+
margin-left: 1px;
45+
}
46+
3047
QComboBox::drop-down {
3148
subcontrol-origin: border;
3249
subcontrol-position: top right;

0 commit comments

Comments
 (0)