mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Fix source tree icon spacing
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
1cb1864cc0
commit
bde68fed32
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user