The script and scene switcher lists were not being styled. This also sets the spacing to 1 for the filter, script, scene switcher and properties view lists, the same as other lists.
@@ -179,22 +179,29 @@ QMenuBar::item:selected {
}
/* Item Lists */
+QListWidget {
+ border-radius: 4px;
+}
+
QListWidget::item {
color: palette(text);
+QListWidget,
QMenu,
SceneTree,
SourceTree {
padding: 3px;
+QListWidget::item,
SourceTreeItem,
QMenu::item,
SceneTree::item {
padding: 6px;
SceneTree::item,
@@ -181,22 +181,29 @@ QMenuBar::item:selected {
@@ -69,6 +69,9 @@
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="spacing">
+ <number>1</number>
+ </property>
</widget>
</item>
<item>
@@ -279,6 +282,9 @@
@@ -52,6 +52,9 @@
<verstretch>0</verstretch>
</sizepolicy>
<property name="sortingEnabled">
<bool>true</bool>
@@ -47,6 +47,9 @@
@@ -658,6 +658,7 @@ void OBSPropertiesView::AddEditableList(obs_property_t *prop,
list->setSortingEnabled(false);
list->setSelectionMode(QAbstractItemView::ExtendedSelection);
list->setToolTip(QT_UTF8(obs_property_long_description(prop)));
+ list->setSpacing(1);
for (size_t i = 0; i < count; i++) {
OBSDataAutoRelease item = obs_data_array_item(array, i);