KDM dialog sizing hack.
authorCarl Hetherington <cth@carlh.net>
Wed, 27 Jan 2016 16:08:30 +0000 (16:08 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 27 Jan 2016 16:08:30 +0000 (16:08 +0000)
src/wx/kdm_dialog.cc

index 0ee502d49c46b889080f309e370525062e145734..5874dea54f65a97312b30d5d647a2b430d04f423 100644 (file)
@@ -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 */