diff --git a/src/gui/control/native_look_editor.cpp b/src/gui/control/native_look_editor.cpp index 537f756d..933a38ff 100644 --- a/src/gui/control/native_look_editor.cpp +++ b/src/gui/control/native_look_editor.cpp @@ -91,6 +91,7 @@ void NativeLookEditor::resizeViewers() { if (e) e->determineSize(); y += s->height + vspace; } + y = y - vspace + margin; SetVirtualSize(w, (int)y); SetScrollbar(wxVERTICAL, 0, h, (int)y); if (y >= h) {