Skip to content

Commit 6ea8efd

Browse files
committed
Update ViewSceneControlsDock.cc
1 parent 75c6e62 commit 6ea8efd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Interface/Modules/Render/ViewSceneControlsDock.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,8 @@ CompositeLightControls::CompositeLightControls(ViewSceneDialog* parent, const st
798798
auto layout = new QHBoxLayout;
799799
setLayout(layout);
800800
layout->addWidget(tabs_);
801+
if (!lights_.empty())
802+
setMinimumSize(lights_[0]->minimumSize());
801803
}
802804

803805
QColor LightButtonUpdater::color() const

0 commit comments

Comments
 (0)