diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-17 13:57:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-17 13:57:54 +0100 |
| commit | 2331992edbff0f6a853a405d334a784223e14320 (patch) | |
| tree | 3b94d57c1af2aaaccc86b58700926ced76c6caee /src | |
| parent | e2b2004ec99736c8aaddd9f39d7c1a42ed4c909c (diff) | |
Move audio information field up next to audio stream combo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_editor.cc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 21cd0acfa..8a4112630 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -119,9 +119,15 @@ FilmEditor::FilmEditor (Film* f, wxWindow* parent) _scaler = new wxComboBox (this, wxID_ANY); _sizer->Add (video_control (_scaler), 1); - video_control (add_label_to_sizer (_sizer, this, "Audio Stream")); - _audio_stream = new wxComboBox (this, wxID_ANY); - _sizer->Add (_audio_stream); + { + video_control (add_label_to_sizer (_sizer, this, "Audio Stream")); + wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); + _audio_stream = new wxComboBox (this, wxID_ANY); + s->Add (video_control (_audio_stream), 1); + _audio = new wxStaticText (this, wxID_ANY, wxT ("")); + s->Add (video_control (_audio), 1, wxALIGN_CENTER_VERTICAL | wxLEFT, 8); + _sizer->Add (s, 1, wxEXPAND); + } { video_control (add_label_to_sizer (_sizer, this, "Audio Gain")); @@ -176,9 +182,6 @@ FilmEditor::FilmEditor (Film* f, wxWindow* parent) _length = new wxStaticText (this, wxID_ANY, wxT ("")); _sizer->Add (video_control (_length), 1, wxALIGN_CENTER_VERTICAL); - video_control (add_label_to_sizer (_sizer, this, "Audio")); - _audio = new wxStaticText (this, wxID_ANY, wxT ("")); - _sizer->Add (video_control (_audio), 1, wxALIGN_CENTER_VERTICAL); { video_control (add_label_to_sizer (_sizer, this, "Range")); |
