summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/content_sub_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc
index 4fe378bf2..6bbc9a51f 100644
--- a/src/wx/content_sub_panel.cc
+++ b/src/wx/content_sub_panel.cc
@@ -83,6 +83,7 @@ ContentSubPanel::layout ()
GetViewStart (&x, &y);
Scroll (0, 0);
_sizer->Layout ();
+ _sizer->FitInside(this);
Scroll (x, y);
}