diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-27 20:11:42 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-27 20:11:42 +0000 |
| commit | 1268f7231ac37899cde92eaa7ecd9cf2595df0ed (patch) | |
| tree | 7501f39ab3685581bad983326d13060cde7f8680 /src | |
| parent | 576620e67b7cc0bd9d2a95a486f5677a2e40ee39 (diff) | |
Scroll about dialog tabs if necessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/about_dialog.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index ff6acedb1..efe762fea 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -301,7 +301,10 @@ AboutDialog::add_section (wxString name, wxArrayString credits) static bool first = true; int const N = 4; - wxPanel* panel = new wxPanel (_notebook, wxID_ANY); + wxScrolledWindow* panel = new wxScrolledWindow (_notebook); + panel->SetMaxSize (wxSize (-1, 380)); + panel->EnableScrolling (false, true); + panel->SetScrollRate (0, 32); wxSizer* overall_sizer = new wxBoxSizer (wxHORIZONTAL); vector<wxSizer*> sizers; |
