From 88b63f55cd4cc76d6da8914bada9d3cd3c6cd2bb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 27 Jan 2025 14:08:52 +0100 Subject: Fix some untidy layout. --- src/wx/content_advanced_dialog.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/wx/content_advanced_dialog.cc b/src/wx/content_advanced_dialog.cc index d78adedea..8dd5ee78c 100644 --- a/src/wx/content_advanced_dialog.cc +++ b/src/wx/content_advanced_dialog.cc @@ -73,10 +73,8 @@ ContentAdvancedDialog::ContentAdvancedDialog (wxWindow* parent, shared_ptrAdd (_filters, 1, wxALL | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP); - filters->Add (_filters_button, 0, wxALL, DCPOMATIC_SIZER_GAP); - sizer->Add (filters, wxGBPosition(r, 1), wxGBSpan(1, 2)); + sizer->Add(_filters, wxGBPosition(r, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); + sizer->Add(_filters_button, wxGBPosition(r, 2), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); ++r; wxStaticText* video_frame_rate_label; @@ -86,10 +84,10 @@ ContentAdvancedDialog::ContentAdvancedDialog (wxWindow* parent, shared_ptrAdd (_video_frame_rate, wxGBPosition(r, 1)); + sizer->Add(_video_frame_rate, wxGBPosition(r, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); _set_video_frame_rate = new Button (this, _("Set")); _set_video_frame_rate->Enable (false); - sizer->Add (_set_video_frame_rate, wxGBPosition(r, 2)); + sizer->Add(_set_video_frame_rate, wxGBPosition(r, 2), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); ++r; /// TRANSLATORS: next to this control is a language selector, so together they will read, for example -- cgit v1.2.3