Speculative fix for #891.
authorCarl Hetherington <cth@carlh.net>
Wed, 29 Jun 2016 21:57:28 +0000 (22:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Jun 2016 21:57:28 +0000 (22:57 +0100)
src/wx/timing_panel.cc

index 7abe9e8f981cc9efad9f145f9b34905e11a12ea5..e5c2ed7852813cc64980f090df2cdc5832b72ecd 100644 (file)
@@ -146,6 +146,9 @@ TimingPanel::TimingPanel (ContentPanel* p, FilmViewer* viewer)
        t->SetLabelMarkup (out);
        grid->Add (t, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 6);
 
+       /* Completely speculative fix for #891 */
+       grid->Layout ();
+
        _position->Changed.connect    (boost::bind (&TimingPanel::position_changed, this));
        _move_to_start_of_reel->Bind  (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&TimingPanel::move_to_start_of_reel_clicked, this));
        _full_length->Changed.connect (boost::bind (&TimingPanel::full_length_changed, this));