Skip to content

Commit

Permalink
[themes] Also provide checkbox styling for list view widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nirvn committed Jul 9, 2020
1 parent 23dee29 commit c0ae18e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -758,6 +758,12 @@ QAbstractItemView::selected, QListView::selected {
outline: none;
}

QAbstractItemView::indicator:checked, QListView::indicator:checked {
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
}
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

/* ==================================================================================== */
/* TREE VIEW */
Expand Down
9 changes: 9 additions & 0 deletions resources/themes/Night Mapping/style.qss
Expand Up @@ -762,6 +762,15 @@ QAbstractItemView::selected, QListView::selected {
outline: none;
}

QAbstractItemView::indicator:checked, QListView::indicator:checked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
}
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

/* ==================================================================================== */
/* TREE VIEW */
/* ==================================================================================== */
Expand Down

0 comments on commit c0ae18e

Please sign in to comment.