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.
master
Clayton Groeneveld 2022-08-29 18:14:30 -05:00 committed by GitHub
parent 11bc39fe7c
commit 80f6faedfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void SceneTree::resizeEvent(QResizeEvent *event)
}
} else {
setGridSize(QSize());
setSpacing(0);
setSpacing(1);
for (int i = 0; i < count(); i++) {
item(i)->setData(Qt::SizeHintRole, QVariant());
}