mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Fix scene list spacing (#7202)
The reason why the scene list spacing would never work is because spacing was always set to 0 in the resize event.
This commit is contained in:
parent
11bc39fe7c
commit
80f6faedfa
@ -91,7 +91,7 @@ void SceneTree::resizeEvent(QResizeEvent *event)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
setGridSize(QSize());
|
setGridSize(QSize());
|
||||||
setSpacing(0);
|
setSpacing(1);
|
||||||
for (int i = 0; i < count(); i++) {
|
for (int i = 0; i < count(); i++) {
|
||||||
item(i)->setData(Qt::SizeHintRole, QVariant());
|
item(i)->setData(Qt::SizeHintRole, QVariant());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user