Fix visibility again.
authorCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 10:20:09 +0000 (11:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 10:20:09 +0000 (11:20 +0100)
src/wx/film_editor.cc

index 65b41fdcfd8ff06e68e3860951bd511f3d12914e..2c36a06ec71710abf38aae01a6c027e722daed97 100644 (file)
@@ -95,8 +95,10 @@ FilmEditor::FilmEditor (Film* f, wxWindow* parent)
                video_control (add_label_to_sizer (_sizer, this, "Filters"));
                wxSizer* s = new wxBoxSizer (wxHORIZONTAL);
                _filters = new wxStaticText (this, wxID_ANY, wxT ("None"));
+               video_control (_filters);
                s->Add (_filters, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6);
                _filters_button = new wxButton (this, wxID_ANY, wxT ("Edit..."));
+               video_control (_filters_button);
                s->Add (_filters_button, 0);
                _sizer->Add (s, 1);
        }
@@ -155,10 +157,15 @@ FilmEditor::FilmEditor (Film* f, wxWindow* parent)
        _sizer->AddSpacer (0);
 
        /* STILL-only stuff */
-       still_control (add_label_to_sizer (_sizer, this, "Duration"));
-       _still_duration = new wxSpinCtrl (this);
-       _sizer->Add (still_control (_still_duration));
-       still_control (add_label_to_sizer (_sizer, this, "s"));
+       {
+               still_control (add_label_to_sizer (_sizer, this, "Duration"));
+               wxSizer* s = new wxBoxSizer (wxHORIZONTAL);
+               _still_duration = new wxSpinCtrl (this);
+               still_control (_still_duration);
+               s->Add (_still_duration, 1, wxEXPAND);
+               still_control (add_label_to_sizer (s, this, "s"));
+               _sizer->Add (s);
+       }
 
        /* Set up our editing widgets */