diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-08 22:46:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-08 22:46:55 +0000 |
| commit | f0b242a48838fed08c366f371e0107c39d62df4d (patch) | |
| tree | fda44c002b56ebac102d812adfcf99400f21a036 /src | |
| parent | 80244829c458909d424e27e92e9f22bb1b1f5d10 (diff) | |
Fix bad layout in the audio tab.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/audio_panel.cc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 8e13225c7..b1904107b 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -56,15 +56,11 @@ AudioPanel::AudioPanel (ContentPanel* p) grid->Add (_reference, wxGBPosition (r, 0), wxGBSpan (1, 2)); ++r; - { - wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); - _show = new wxButton (this, wxID_ANY, _("Show graph of audio levels...")); - s->Add (_show); - _peak = new wxStaticText (this, wxID_ANY, wxT ("")); - s->Add (_peak, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, DCPOMATIC_SIZER_X_GAP); - grid->Add (s, wxGBPosition (r, 0), wxGBSpan (1, 2)); - ++r; - } + _show = new wxButton (this, wxID_ANY, _("Show graph of audio levels...")); + grid->Add (_show, wxGBPosition (r, 0), wxGBSpan (1, 2)); + _peak = new wxStaticText (this, wxID_ANY, wxT ("")); + grid->Add (_peak, wxGBPosition (r, 2), wxGBSpan (1, 2), wxALIGN_CENTER_VERTICAL); + ++r; add_label_to_sizer (grid, this, _("Gain"), true, wxGBPosition (r, 0)); _gain = new ContentSpinCtrlDouble<AudioContent> ( |
