diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-21 23:00:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-21 23:02:49 +0100 |
| commit | 44da1840ca17d0945cb1886bb17218990850894c (patch) | |
| tree | b6fab2f9fa7202aef68f948f2028a36ca476d5ea /src/wx/timing_panel.cc | |
| parent | ce058471aa9995adac968cecc205f5a4319f449e (diff) | |
Remove the "simple" UI (#1868).
It just seemed to cause more problems than it solved; mainly people
enabling it by mistake and then being told to click buttons that
they could not see.
Diffstat (limited to 'src/wx/timing_panel.cc')
| -rw-r--r-- | src/wx/timing_panel.cc | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index c643d2080..195887a29 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -129,8 +129,6 @@ TimingPanel::TimingPanel (ContentPanel* p, weak_ptr<FilmViewer> viewer) void TimingPanel::add_to_grid () { - bool const full = Config::instance()->interface_complexity() == Config::INTERFACE_FULL; - int r = 0; wxSizer* labels = new wxBoxSizer (wxHORIZONTAL); @@ -148,20 +146,12 @@ TimingPanel::add_to_grid () _grid->Add (_position, wxGBPosition(r, 1)); ++r; - _move_to_start_of_reel->Show (full); - _full_length_label->Show (full); - _full_length->Show (full); - _play_length_label->Show (full); - _play_length->Show (full); - - if (full) { - _grid->Add (_move_to_start_of_reel, wxGBPosition(r, 1)); - ++r; + _grid->Add (_move_to_start_of_reel, wxGBPosition(r, 1)); + ++r; - add_label_to_sizer (_grid, _full_length_label, true, wxGBPosition(r, 0)); - _grid->Add (_full_length, wxGBPosition(r, 1)); - ++r; - } + add_label_to_sizer (_grid, _full_length_label, true, wxGBPosition(r, 0)); + _grid->Add (_full_length, wxGBPosition(r, 1)); + ++r; add_label_to_sizer (_grid, _trim_start_label, true, wxGBPosition(r, 0)); _grid->Add (_trim_start, wxGBPosition(r, 1)); @@ -177,11 +167,9 @@ TimingPanel::add_to_grid () _grid->Add (_trim_end_to_playhead, wxGBPosition(r, 1)); ++r; - if (full) { - add_label_to_sizer (_grid, _play_length_label, true, wxGBPosition(r, 0)); - _grid->Add (_play_length, wxGBPosition(r, 1)); - ++r; - } + add_label_to_sizer (_grid, _play_length_label, true, wxGBPosition(r, 0)); + _grid->Add (_play_length, wxGBPosition(r, 1)); + ++r; /* Completely speculative fix for #891 */ _grid->Layout (); |
