UI: Fix source tree icon spacing

This commit is contained in:
Warchamp7
2024-07-15 18:39:35 -03:00
committed by Georges Basile Stavracas Neto
parent 1cb1864cc0
commit bde68fed32
2 changed files with 16 additions and 8 deletions
+2
View File
@@ -77,6 +77,7 @@ SourceTreeItem::SourceTreeItem(SourceTree *tree_, OBSSceneItem sceneitem_)
iconLabel->setPixmap(pixmap);
iconLabel->setEnabled(sourceVisible);
iconLabel->setStyleSheet("background: none");
iconLabel->setProperty("TH_Source_Icon", true);
}
vis = new QCheckBox();
@@ -111,6 +112,7 @@ SourceTreeItem::SourceTreeItem(SourceTree *tree_, OBSSceneItem sceneitem_)
boxLayout = new QHBoxLayout();
boxLayout->setContentsMargins(0, 0, 0, 0);
boxLayout->setSpacing(0);
if (iconLabel) {
boxLayout->addWidget(iconLabel);
boxLayout->addSpacing(2);