UI: Adjust list style of scenes and sources

Exact same set of changes as before, but additionally remove the
margins from the items since it was artificially increasing the
spacing between them.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-31 00:19:11 -03:00
parent a8141789fe
commit ef999dfc99
2 changed files with 23 additions and 3 deletions

View File

@ -171,12 +171,16 @@ QListWidget::item {
color: palette(text);
}
SceneTree,
SourceTree {
padding: 3px;
}
SceneTree::item,
SourceTree::item {
padding: 3px;
border-radius: 4px;
padding: 6px;
color: palette(text);
margin-bottom: 1px;
margin-top: 1px;
border: 0px solid transparent;
}
@ -1093,6 +1097,11 @@ LockedCheckBox {
margin-left: -2px;
}
LockedCheckBox::indicator {
width: 16px;
height: 16px;
}
LockedCheckBox::indicator:checked,
LockedCheckBox::indicator:checked:hover {
image: url(./Dark/locked.svg);
@ -1111,6 +1120,11 @@ VisibilityCheckBox {
margin-left: -1px;
}
VisibilityCheckBox::indicator {
width: 16px;
height: 16px;
}
VisibilityCheckBox::indicator:checked,
VisibilityCheckBox::indicator:checked:hover {
image: url(./Dark/visible.svg);

View File

@ -793,6 +793,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="spacing">
<number>1</number>
</property>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
@ -928,6 +931,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="spacing">
<number>1</number>
</property>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>