QAbstractItemView padding

main
Alexhuszagh 2016-10-17 18:03:19 -05:00
parent 5c22cfd581
commit e06b18657f
2 changed files with 29 additions and 7 deletions

View File

@ -1095,11 +1095,11 @@ QDockWidget::close-button:pressed {
image: url(:/dark/close-pressed.svg);
}
QTreeView, QListView
QTreeView,
QListView
{
border: 1px solid #76797c;
background-color: #232629;
padding: 3px;
}
@ -1167,10 +1167,21 @@ QTreeView::branch:open:has-children:has-siblings:hover {
}
*/
QTableView::item:!selected:hover, QListView::item:!selected:hover, QTreeView::item:!selected:hover {
QTableView::item,
QListView::item,
QTreeView::item
{
padding: 3px;
}
QTableView::item:!selected:hover,
QListView::item:!selected:hover,
QTreeView::item:!selected:hover
{
background-color: rgba(61, 173, 232, 0.2);
outline: 0;
color: #eff0f1
color: #eff0f1;
padding: 3px;
}
QSlider::groove:horizontal {

View File

@ -1086,7 +1086,6 @@ QTreeView, QListView
{
border: 1px solid #BAB9B8;
background-color: #FCFCFC;
padding: 3px;
}
@ -1154,10 +1153,22 @@ QTreeView::branch:open:has-children:has-siblings:hover {
}
*/
QTableView::item:!selected:hover, QListView::item:!selected:hover, QTreeView::item:!selected:hover {
QTableView::item,
QListView::item,
QTreeView::item
{
padding: 3px;
}
QTableView::item:!selected:hover,
QListView::item:!selected:hover,
QTreeView::item:!selected:hover
{
background-color: rgba(61, 173, 232, 0.1);
outline: 0;
color: #31363B
color: #31363B;
padding: 3px;
}
QSlider::groove:horizontal {