MAX_AUDIO_CHANNELS -> MAX_DCP_AUDIO_CHANNELS.
[dcpomatic.git] / src / wx / preset_colour_conversion_dialog.cc
index 8c4a6dbcf792367fb07c14207f15eb7e956f9811..ce6897ecdb63cc70d292ff731dee8048f283c6fa 100644 (file)
@@ -34,12 +34,13 @@ PresetColourConversionDialog::PresetColourConversionDialog (wxWindow* parent)
        SetSizer (overall_sizer);
 
        wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
+       table->AddGrowableCol (1, 1);
        add_label_to_sizer (table, this, _("Name"), true);
        _name = new wxTextCtrl (this, wxID_ANY, wxT (""));
-       table->Add (_name);
+       table->Add (_name, 1, wxEXPAND | wxALL);
 
        overall_sizer->Add (table, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
-       overall_sizer->Add (new wxStaticLine (this, wxID_ANY));
+       overall_sizer->Add (new wxStaticLine (this, wxID_ANY), 0, wxEXPAND);
        overall_sizer->Add (_editor);
 
        wxSizer* buttons = CreateSeparatedButtonSizer (wxOK);