diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-14 20:13:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-14 20:13:45 +0100 |
| commit | 8e4486a37ae3ddc1f46e07c9113fed6ad042e3a3 (patch) | |
| tree | 904d68f9158b7ecce512f2198aa411995a9bcd17 /src | |
| parent | 45dcdd17c7f860e92d7b1d75598afea64c5fbc50 (diff) | |
Tweak player config dialog layout.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/config_dialog.cc | 4 |
1 files 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<pair<string, string> > 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; |
