diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-19 20:23:23 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-19 20:23:23 +0000 |
| commit | 0ba91c0ce63953a8bbdbc9b43a8879b3e6d4ed29 (patch) | |
| tree | a144a23acce1f5ee53a90385436924d29600e42c | |
| parent | fd225e3afb0bcf3e7bfce1018dbc0a4c4bd275f2 (diff) | |
Fix some GTK3 vertical alignment error messages in the player.
| -rw-r--r-- | src/wx/player_information.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wx/player_information.cc b/src/wx/player_information.cc index 5f480d5b4..3818007fb 100644 --- a/src/wx/player_information.cc +++ b/src/wx/player_information.cc @@ -52,27 +52,27 @@ PlayerInformation::PlayerInformation (wxWindow* parent, weak_ptr<FilmViewer> vie { wxSizer* s = new wxBoxSizer (wxVERTICAL); - add_label_to_sizer(s, this, _("DCP"), false, 0)->SetFont(title_font); + add_label_to_vertical_sizer(s, this, _("DCP"), false, 0)->SetFont(title_font); for (int i = 0; i < dcp_lines / 2; ++i) { - _dcp[i] = add_label_to_sizer(s, this, wxT(""), false, 0); + _dcp[i] = add_label_to_vertical_sizer(s, this, wxT(""), false, 0); } _sizer->Add (s, 1, wxEXPAND | wxALL, 6); } { wxSizer* s = new wxBoxSizer (wxVERTICAL); - add_label_to_sizer(s, this, wxT(" "), false, 0); + add_label_to_vertical_sizer(s, this, wxT(" "), false, 0); for (int i = dcp_lines / 2; i < dcp_lines; ++i) { - _dcp[i] = add_label_to_sizer(s, this, wxT(""), false, 0); + _dcp[i] = add_label_to_vertical_sizer(s, this, wxT(""), false, 0); } _sizer->Add (s, 1, wxEXPAND | wxALL, 6); } { wxSizer* s = new wxBoxSizer (wxVERTICAL); - add_label_to_sizer(s, this, _("Performance"), false, 0)->SetFont(title_font); - _dropped = add_label_to_sizer(s, this, wxT(""), false, 0); - _decode_resolution = add_label_to_sizer(s, this, wxT(""), false, 0); + add_label_to_vertical_sizer(s, this, _("Performance"), false, 0)->SetFont(title_font); + _dropped = add_label_to_vertical_sizer(s, this, wxT(""), false, 0); + _decode_resolution = add_label_to_vertical_sizer(s, this, wxT(""), false, 0); _sizer->Add (s, 2, wxEXPAND | wxALL, 6); } |
