From 62d86bf8c395985de7e28d7bd108a71c5513d494 Mon Sep 17 00:00:00 2001 From: twanvl Date: Mon, 11 Aug 2008 11:57:53 +0000 Subject: [PATCH] use margin instead of vspace at the bottom of NativeLookEditor git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1136 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/control/native_look_editor.cpp | 1 + 1 file changed, 1 insertion(+) 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) {