summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-27 16:08:30 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-27 16:08:30 +0000
commitbdafb660e2549f65f7e5ae0e0f45e8227e91f6cf (patch)
tree7d036d746e861005c246fd8b8fbf649da676221f /src
parent8262bd666ebc26d2742e01c4996bcc5bfc57ce8b (diff)
KDM dialog sizing hack.
Diffstat (limited to 'src')
-rw-r--r--src/wx/kdm_dialog.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc
index 0ee502d49..5874dea54 100644
--- a/src/wx/kdm_dialog.cc
+++ b/src/wx/kdm_dialog.cc
@@ -54,6 +54,10 @@ KDMDialog::KDMDialog (wxWindow* parent, boost::shared_ptr<const Film> film)
h->SetFont (subheading_font);
vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL);
_screens = new ScreensPanel (this);
+ /* Hack to stop KDM dialogs that are taller than my laptop screen; this
+ really isn't the right way to fix it...
+ */
+ _screens->SetMaxSize (wxSize (-1, 280));
vertical->Add (_screens, 1, wxEXPAND);
/* Sub-heading: Timing */