From c8bad0ba7b6b7690a76fa1711d1f94e151f0e7fe Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 2 Jul 2007 17:31:12 +0000 Subject: [PATCH] Align controls vertically centered. --- src/mmg/tab_chapters.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mmg/tab_chapters.cpp b/src/mmg/tab_chapters.cpp index bcec5d8b2..671e4b54a 100644 --- a/src/mmg/tab_chapters.cpp +++ b/src/mmg/tab_chapters.cpp @@ -335,18 +335,18 @@ tab_chapters::tab_chapters(wxWindow *parent, "identifier. This identifier is normally assigned " "automatically by the programs, but it can be " "changed manually if it is really needed.")); - siz_line->Add(tc_uid, 1, wxGROW | wxRIGHT, 10); + siz_line->Add(tc_uid, 1, wxGROW | wxRIGHT | wxALIGN_CENTER_VERTICAL, 10); cb_flag_hidden = new wxCheckBox(this, ID_CB_CHAPTERHIDDEN, wxT("hidden")); cb_flag_hidden->SetToolTip(TIP("If a chapter is marked 'hidden' then the " "player should not show this chapter entry " "to the user. Such entries could still be " "used by the menu system.")); - siz_line->Add(cb_flag_hidden, 0, wxRIGHT, 10); + siz_line->Add(cb_flag_hidden, 0, wxRIGHT | wxALIGN_CENTER_VERTICAL, 10); cb_flag_enabled = new wxCheckBox(this, ID_CB_CHAPTERENABLED, wxT("enabled")); cb_flag_enabled->SetToolTip(TIP("If a chapter is not marked 'enabled' then " "the player should skip the part of the " "file that this chapter occupies.")); - siz_line->Add(cb_flag_enabled, 0, 0, 0); + siz_line->Add(cb_flag_enabled, 0, wxALIGN_CENTER_VERTICAL, 0); siz_fg->Add(siz_line, 0, wxGROW | wxRIGHT, 5); siz_fg->Add(1, 0, 0, 0, 0);