From: Carl Hetherington Date: Wed, 27 Jan 2016 16:08:30 +0000 (+0000) Subject: KDM dialog sizing hack. X-Git-Tag: v2.6.17~10 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=bdafb660e2549f65f7e5ae0e0f45e8227e91f6cf KDM dialog sizing hack. --- 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 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 */