Skip to content

Commit 97ba5d5

Browse files
committed
margin padding
1 parent 22b4d8d commit 97ba5d5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Nagstamon/qui/widgets/treeview.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,11 @@ def __init__(self, columncount, rowcount, sort_column, sort_order, server, paren
143143
# set overall margin and hover colors - to be refined
144144
self.setStyleSheet('''QTreeView::item {margin: 5px;}
145145
QTreeView::item:hover {margin: 0px;
146+
padding: 5px;
146147
color: white;
147148
background-color: dimgrey;}
148149
QTreeView::item:selected {margin: 0px;
150+
padding: 5px;
149151
color: white;
150152
background-color: grey;}
151153
''')

0 commit comments

Comments
 (0)