X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fproperties_dialog.cc;h=a1ba81b3b5ae07838a23adb2f7d4a8d9477e169a;hb=1ba7bca7f2950faa441ec83920d35b65016f3fa6;hp=1e0641ac4330d5ec576aa33c9135db7906977e10;hpb=0c66eaeac227d6aeb63a7a36e202ef87081dc222;p=dcpomatic.git diff --git a/src/wx/properties_dialog.cc b/src/wx/properties_dialog.cc index 1e0641ac4..a1ba81b3b 100644 --- a/src/wx/properties_dialog.cc +++ b/src/wx/properties_dialog.cc @@ -1,5 +1,3 @@ -/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */ - /* Copyright (C) 2012 Carl Hetherington @@ -38,17 +36,17 @@ PropertiesDialog::PropertiesDialog (wxWindow* parent, shared_ptr film) : wxDialog (parent, wxID_ANY, _("Film Properties"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE) , _film (film) { - wxFlexGridSizer* table = new wxFlexGridSizer (2, 3, 6); + wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP); - add_label_to_sizer (table, this, _("Frames")); + add_label_to_sizer (table, this, _("Frames"), true); _frames = new wxStaticText (this, wxID_ANY, wxT ("")); table->Add (_frames, 1, wxALIGN_CENTER_VERTICAL); - add_label_to_sizer (table, this, _("Disk space required")); + add_label_to_sizer (table, this, _("Disk space required"), true); _disk = new wxStaticText (this, wxID_ANY, wxT ("")); table->Add (_disk, 1, wxALIGN_CENTER_VERTICAL); - add_label_to_sizer (table, this, _("Frames already encoded")); + add_label_to_sizer (table, this, _("Frames already encoded"), true); _encoded = new ThreadedStaticText (this, _("counting..."), boost::bind (&PropertiesDialog::frames_already_encoded, this)); table->Add (_encoded, 1, wxALIGN_CENTER_VERTICAL); @@ -59,7 +57,7 @@ PropertiesDialog::PropertiesDialog (wxWindow* parent, shared_ptr film) _disk->SetLabel (std_to_wx (s.str ())); wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL); - overall_sizer->Add (table, 0, wxALL, 6); + overall_sizer->Add (table, 0, wxALL, DCPOMATIC_DIALOG_BORDER); wxSizer* buttons = CreateSeparatedButtonSizer (wxOK); if (buttons) {