summaryrefslogtreecommitdiff
path: root/src/wx/video_waveform_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-06 00:12:16 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-06 01:11:28 +0200
commit3ee5431c7e270d7bf706fcf7530a6eb2c78480c3 (patch)
tree6fa4454a82b256265c7b3a8d39a9b57e0342a325 /src/wx/video_waveform_dialog.cc
parent4f652387cbeeda9b7b8ace71e047c450acf5c871 (diff)
Fix assorted GTK3-related alignment problems.
Diffstat (limited to 'src/wx/video_waveform_dialog.cc')
-rw-r--r--src/wx/video_waveform_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_waveform_dialog.cc b/src/wx/video_waveform_dialog.cc
index f3d4a7aa5..510d373c6 100644
--- a/src/wx/video_waveform_dialog.cc
+++ b/src/wx/video_waveform_dialog.cc
@@ -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);