diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-07 14:27:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-07 14:27:15 +0100 |
| commit | 59f5ab7320ba4911452d56f0a4e1603165da93f4 (patch) | |
| tree | 2bbe249c543f468b6bf3ad2787ae209de17115b8 /src | |
| parent | 4725a493ed1fc6886b36553bd4600261aa644800 (diff) | |
Label subtitle offset with pixels (#101).
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_editor.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index c1d679665..79a174901 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -428,9 +428,14 @@ FilmEditor::make_subtitle_panel () _subtitle_stream = new wxChoice (_subtitle_panel, wxID_ANY); grid->Add (video_control (_subtitle_stream)); - video_control (add_label_to_sizer (grid, _subtitle_panel, _("Subtitle Offset"))); - _subtitle_offset = new wxSpinCtrl (_subtitle_panel); - grid->Add (video_control (_subtitle_offset), 1); + { + video_control (add_label_to_sizer (grid, _subtitle_panel, _("Subtitle Offset"))); + wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); + _subtitle_offset = new wxSpinCtrl (_subtitle_panel); + s->Add (_subtitle_offset); + video_control (add_label_to_sizer (s, _subtitle_panel, _("pixels"))); + grid->Add (s); + } { video_control (add_label_to_sizer (grid, _subtitle_panel, _("Subtitle Scale"))); |
