X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_colour_conversion_dialog.cc;h=9713cde1b0f555713f17a7ee5a5c52bd1cd69069;hb=1858190cff2f960f3d1f0a5cc02c69da86088f5b;hp=b382c342937f5d01ab77c43a527ab259958fcadd;hpb=5229b795b9d7cafe174496fbc6bca8d62f4a3ff0;p=dcpomatic.git diff --git a/src/wx/content_colour_conversion_dialog.cc b/src/wx/content_colour_conversion_dialog.cc index b382c3429..9713cde1b 100644 --- a/src/wx/content_colour_conversion_dialog.cc +++ b/src/wx/content_colour_conversion_dialog.cc @@ -25,6 +25,7 @@ #include "colour_conversion_editor.h" #include #include +#include using std::string; using std::vector; @@ -39,7 +40,7 @@ ContentColourConversionDialog::ContentColourConversionDialog (wxWindow* parent) wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL); SetSizer (overall_sizer); - wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP); + wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_Y_GAP - 2, DCPOMATIC_SIZER_X_GAP); _preset_check = new wxCheckBox (this, wxID_ANY, _("Use preset")); table->Add (_preset_check, 0, wxALIGN_CENTER_VERTICAL); _preset_choice = new wxChoice (this, wxID_ANY); @@ -89,7 +90,7 @@ ContentColourConversionDialog::check_for_preset () if (_setting) { return; } - + optional preset = _editor->get().preset (); _preset_check->SetValue (preset); @@ -123,4 +124,4 @@ ContentColourConversionDialog::preset_choice_changed () } } - +