diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-09 01:00:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-09 01:00:30 +0000 |
| commit | 9549ecffd4b63e48a2a3f4c58033691a36eee111 (patch) | |
| tree | b10a81225f456b132d4ddf551c0fb5a481045dff /src/wx/content_sub_panel.cc | |
| parent | 2aeff3a6c0ecf5fc0e8f13c4dc580ae5dfb464f2 (diff) | |
Hopefully improve layout on high-resolution displays (#1303).
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); |
