mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
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:
@@ -91,6 +91,7 @@ void NativeLookEditor::resizeViewers() {
|
|||||||
if (e) e->determineSize();
|
if (e) e->determineSize();
|
||||||
y += s->height + vspace;
|
y += s->height + vspace;
|
||||||
}
|
}
|
||||||
|
y = y - vspace + margin;
|
||||||
SetVirtualSize(w, (int)y);
|
SetVirtualSize(w, (int)y);
|
||||||
SetScrollbar(wxVERTICAL, 0, h, (int)y);
|
SetScrollbar(wxVERTICAL, 0, h, (int)y);
|
||||||
if (y >= h) {
|
if (y >= h) {
|
||||||
|
|||||||
Reference in New Issue
Block a user