Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / wx / preset_colour_conversion_dialog.cc
index 8c4a6dbcf792367fb07c14207f15eb7e956f9811..9656ff5dcaefead6ad0398f1f581d61f1bec0ef0 100644 (file)
@@ -22,6 +22,7 @@
 #include "wx_util.h"
 #include "preset_colour_conversion_dialog.h"
 #include "colour_conversion_editor.h"
+#include <iostream>
 
 using std::string;
 using std::cout;
@@ -34,12 +35,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);