From bdafb660e2549f65f7e5ae0e0f45e8227e91f6cf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 27 Jan 2016 16:08:30 +0000 Subject: KDM dialog sizing hack. --- src/wx/kdm_dialog.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3