Commit 28bc1267 authored by twanvl's avatar twanvl

use margin instead of vspace at the bottom of NativeLookEditor

parent a077f97f
...@@ -91,6 +91,7 @@ void NativeLookEditor::resizeViewers() { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment