Fix assorted GTK3-related alignment problems.
[dcpomatic.git] / src / wx / video_waveform_dialog.cc
index f3d4a7aa527330d9d09718cfc6e8200295c0a5e8..510d373c61364d3b7b2f8b19151dcbb6faa4ed6e 100644 (file)
@@ -57,10 +57,10 @@ VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, weak_ptr<const Film>
        _component->Append (wxT ("X"));
        _component->Append (wxT ("Y"));
        _component->Append (wxT ("Z"));
-       add_label_to_sizer (controls, this, _("Component"), true);
+       add_label_to_sizer (controls, this, _("Component"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTRE_VERTICAL);
        controls->Add (_component, 1, wxALL, DCPOMATIC_SIZER_X_GAP);
 
-       add_label_to_sizer (controls, this, _("Contrast"), true);
+       add_label_to_sizer (controls, this, _("Contrast"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTRE_VERTICAL);
        _contrast = new wxSlider (this, wxID_ANY, 0, 0, 256);
        controls->Add (_contrast, 1, wxALL, DCPOMATIC_SIZER_X_GAP);