From 1268f7231ac37899cde92eaa7ecd9cf2595df0ed Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 27 Jan 2016 20:11:42 +0000 Subject: Scroll about dialog tabs if necessary. --- src/wx/about_dialog.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 sizers; -- cgit v1.2.3