From 8e4486a37ae3ddc1f46e07c9113fed6ad042e3a3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 14 Sep 2018 20:13:45 +0100 Subject: [PATCH] Tweak player config dialog layout. --- src/wx/config_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 4b8e44f92..495785adf 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -113,7 +113,7 @@ void GeneralPage::add_language_controls (wxGridBagSizer* table, int& r) { _set_language = new wxCheckBox (_panel, wxID_ANY, _("Set language")); - table->Add (_set_language, wxGBPosition (r, 0)); + table->Add (_set_language, wxGBPosition (r, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); _language = new wxChoice (_panel, wxID_ANY); vector > languages; languages.push_back (make_pair ("Čeština", "cs_CZ")); @@ -153,7 +153,7 @@ void GeneralPage::add_play_sound_controls (wxGridBagSizer* table, int& r) { _sound = new wxCheckBox (_panel, wxID_ANY, _("Play sound via")); - table->Add (_sound, wxGBPosition (r, 0)); + table->Add (_sound, wxGBPosition (r, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); _sound_output = new wxChoice (_panel, wxID_ANY); table->Add (_sound_output, wxGBPosition (r, 1)); ++r; -- 2.30.2