Layout tweaks.
authorCarl Hetherington <cth@carlh.net>
Thu, 9 Jan 2014 16:26:23 +0000 (16:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 9 Jan 2014 16:26:23 +0000 (16:26 +0000)
src/wx/audio_panel.cc

index c449121f1b74ba185a25298293985cfca9e41036..41313e342fa0841049293dd459b3bc27efb29910 100644 (file)
@@ -73,7 +73,7 @@ AudioPanel::AudioPanel (FilmEditor* e)
                boost::mem_fn (&AudioContent::set_audio_delay)
                );
        
-       _delay->add (grid, wxGBPosition (r,));
+       _delay->add (grid, wxGBPosition (r, 1));
        /// TRANSLATORS: this is an abbreviation for milliseconds, the unit of time
        add_label_to_grid_bag_sizer (grid, this, _("ms"), false, wxGBPosition (r, 2));
        ++r;
@@ -81,10 +81,7 @@ AudioPanel::AudioPanel (FilmEditor* e)
        add_label_to_grid_bag_sizer (grid, this, _("Audio Stream"), true, wxGBPosition (r, 0));
        _stream = new wxChoice (this, wxID_ANY);
        grid->Add (_stream, wxGBPosition (r, 1));
-       ++r;
-       
-       _description = new wxStaticText (this, wxID_ANY, wxT (""));
-       grid->Add (_description, wxGBPosition (r, 0));
+       _description = add_label_to_grid_bag_sizer (grid, this, "", false, wxGBPosition (r, 3));
        ++r;
        
        _mapping = new AudioMappingView (this);