diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-26 00:37:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-26 00:37:42 +0100 |
| commit | 0d40a51371f10ae75824c8e901ce340665163493 (patch) | |
| tree | ef7095d40a3823d07ced5710b14e05d2005828f8 /src/wx/kdm_cpl_panel.cc | |
| parent | 5a71fea359f1deae8a5843614f740d38783cd816 (diff) | |
Fix label alignment.
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
| -rw-r--r-- | src/wx/kdm_cpl_panel.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc index 8bb73f783..f45fc5291 100644 --- a/src/wx/kdm_cpl_panel.cc +++ b/src/wx/kdm_cpl_panel.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -34,11 +34,11 @@ KDMCPLPanel::KDMCPLPanel (wxWindow* parent, vector<CPLSummary> cpls) : wxPanel (parent, wxID_ANY) , _cpls (cpls) { - wxBoxSizer* vertical = new wxBoxSizer (wxVERTICAL); + auto vertical = new wxBoxSizer (wxVERTICAL); /* CPL choice */ - wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); - add_label_to_sizer (s, this, _("CPL"), true); + auto s = new wxBoxSizer (wxHORIZONTAL); + add_label_to_sizer (s, this, _("CPL"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL); _cpl = new wxChoice (this, wxID_ANY); s->Add (_cpl, 1, wxEXPAND); _cpl_browse = new Button (this, _("Browse...")); |
