diff --git a/editor/src/editor/GUIComponents.cpp b/editor/src/editor/GUIComponents.cpp index 157b6b49..3f126dcb 100644 --- a/editor/src/editor/GUIComponents.cpp +++ b/editor/src/editor/GUIComponents.cpp @@ -707,6 +707,8 @@ void SControlsPanel::updateLayout() CRect containerSize = getContainerSize(); containerSize.bottom = containerBottom; setContainerSize(CRect(0.0, 0.0, viewBounds.getWidth(), containerBottom + verticalPadding)); + + invalid(); } void SControlsPanel::ControlSlotListener::valueChanged(CControl* pControl)