Tinker with layout.
authorCarl Hetherington <cth@carlh.net>
Thu, 28 Jul 2016 10:06:15 +0000 (11:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 28 Jul 2016 10:06:15 +0000 (11:06 +0100)
src/wx/kdm_dialog.cc

index 72c1cd33f046ea40a4ef22520916fe79b9291796..7f3f4b07b908d739b3f888df504accf9b6b4661c 100644 (file)
@@ -72,9 +72,9 @@ KDMDialog::KDMDialog (wxWindow* parent, boost::shared_ptr<const Film> film)
        /* Sub-heading: CPL */
        h = new wxStaticText (this, wxID_ANY, _("CPL"));
        h->SetFont (subheading_font);
-       vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
+       vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_Y_GAP * 2);
        _cpl = new KDMCPLPanel (this, film->cpls ());
-       vertical->Add (_cpl);
+       vertical->Add (_cpl, 0, wxEXPAND);
 
        /* Sub-heading: Output */
        h = new wxStaticText (this, wxID_ANY, _("Output"));