diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:59:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:59:32 +0100 |
| commit | 5671b643ef0e935563bf4cc89efd640d592d1f86 (patch) | |
| tree | 847668d512a4e0a0b3af13503cae0b1836b8db24 /src/wx/dcp_panel.cc | |
| parent | e06d1831abc6786933db935f298c8a4e8e76e599 (diff) | |
Assorted macOS layout tweaks.
Diffstat (limited to 'src/wx/dcp_panel.cc')
| -rw-r--r-- | src/wx/dcp_panel.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/dcp_panel.cc b/src/wx/dcp_panel.cc index 0a0bd5aab..1687704ec 100644 --- a/src/wx/dcp_panel.cc +++ b/src/wx/dcp_panel.cc @@ -798,9 +798,9 @@ DCPPanel::add_video_panel_to_grid () add_label_to_sizer (_video_grid, _j2k_bandwidth_label, true, wxGBPosition (r, 0)); wxSizer* s = new wxBoxSizer (wxHORIZONTAL); - s->Add (_j2k_bandwidth, 1); - add_label_to_sizer (s, _mbits_label, false); - _video_grid->Add (s, wxGBPosition (r, 1)); + s->Add (_j2k_bandwidth, 0, wxALIGN_CENTER_VERTICAL); + add_label_to_sizer (s, _mbits_label, false, 0, wxALIGN_CENTER_VERTICAL); + _video_grid->Add (s, wxGBPosition(r, 1), wxDefaultSpan, wxEXPAND); ++r; _video_grid->Add (_reencode_j2k, wxGBPosition(r, 0), wxGBSpan(1, 2)); } |
