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
This commit is contained in:
twanvl
2008-08-11 11:57:53 +00:00
parent 76c3950c89
commit 62d86bf8c3
+1
View File
@@ -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) {