Layout adjustment.
authorCarl Hetherington <cth@carlh.net>
Sat, 17 Aug 2013 21:25:41 +0000 (22:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 17 Aug 2013 21:25:41 +0000 (22:25 +0100)
src/wx/preset_colour_conversion_dialog.cc

index e7f8cf0494cd741813f3a74f19d100c91d911355..ce6897ecdb63cc70d292ff731dee8048f283c6fa 100644 (file)
@@ -34,9 +34,10 @@ 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), 0, wxEXPAND);