summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-26 11:20:09 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-26 11:20:09 +0100
commit3b970e0b0b4c1aaae2b2606eca012b83bc821f24 (patch)
tree45d19823f76b7c9085d4d185b158ff9f090d176e /src
parente798bb63b772fb9d6549a4e0f85ab49227c17a8d (diff)
Fix visibility again.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 65b41fdcf..2c36a06ec 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -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 */