From 28f6eff123979f00944a290794695e31540ecaa2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Apr 2016 16:11:04 +0100 Subject: [PATCH] Expand window contents to fill the whole window. --- src/tools/dcpomatic_kdm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2