diff options
Diffstat (limited to 'src/wx/content_sub_panel.cc')
| -rw-r--r-- | src/wx/content_sub_panel.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index aee0d6595..2fe104563 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -39,6 +39,8 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name) { SetScrollRate (8, 8); SetSizer (_sizer); + /* This stops the notebook collapsing to near-zero size. The 600 is a guess. */ + SetMinSize (wxSize(-1, 600)); _grid = new wxGridBagSizer (DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP); _sizer->Add (_grid, 0, wxALL, 8); |
