Hack to fix layout on OS X (#891).
authorCarl Hetherington <cth@carlh.net>
Mon, 14 Nov 2016 13:35:45 +0000 (13:35 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 14 Nov 2016 15:21:57 +0000 (15:21 +0000)
src/wx/timing_panel.cc

index d9777834f9a113015108841b8ca329063bacdcd7..49c405f9ef9aa09c0d977af6c8d7d458e5d1442b 100644 (file)
@@ -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 */