From: Carl Hetherington Date: Fri, 22 Apr 2016 15:11:04 +0000 (+0100) Subject: Expand window contents to fill the whole window. X-Git-Tag: v2.7.15~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=28f6eff123979f00944a290794695e31540ecaa2 Expand window contents to fill the whole window. --- diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 2613358e5..0c4141ced 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -86,7 +86,7 @@ class DOMFrame : public wxFrame { public: DOMFrame (wxString const & title) - : wxFrame (NULL, -1, title) + : wxFrame (0, -1, title) , _config_dialog (0) , _job_view (0) { @@ -160,7 +160,7 @@ public: _create = new wxButton (overall_panel, wxID_ANY, _("Create KDMs")); vertical->Add (_create, 0, wxALL, DCPOMATIC_SIZER_GAP); - main_sizer->Add (vertical, 1, wxALL, DCPOMATIC_DIALOG_BORDER); + main_sizer->Add (vertical, 1, wxALL | wxEXPAND, DCPOMATIC_DIALOG_BORDER); overall_panel->SetSizer (main_sizer); /* Instantly save any config changes when using a DCP-o-matic GUI */