From: Carl Hetherington Date: Mon, 14 Nov 2016 13:35:45 +0000 (+0000) Subject: Hack to fix layout on OS X (#891). X-Git-Tag: v2.9.41~1^2 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=ec551d6af1e0ff59a7f9db27665c8eb5c3ec59a4;p=dcpomatic.git Hack to fix layout on OS X (#891). --- diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index d9777834f..49c405f9e 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -145,6 +145,10 @@ TimingPanel::TimingPanel (ContentPanel* p, FilmViewer* viewer) t = new wxStaticText (this, wxID_ANY, wxT ("")); t->SetLabelMarkup (out); +#ifdef DCPOMATIC_OSX + /* Hack to stop hidden text on some versions of OS X */ + t->SetMinSize (wxSize (-1, 256)); +#endif grid->Add (t, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 6); /* Completely speculative fix for #891 */