projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576620e
)
Scroll about dialog tabs if necessary.
author
Carl Hetherington
<cth@carlh.net>
Wed, 27 Jan 2016 20:11:42 +0000
(20:11 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 27 Jan 2016 20:11:42 +0000
(20:11 +0000)
src/wx/about_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/about_dialog.cc
b/src/wx/about_dialog.cc
index ff6acedb1aca932ba448b475cb1e7ec355287ac6..efe762fea1cccf1aaa48d258804419d6f96e4175 100644
(file)
--- 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;