summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-14 13:35:45 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-14 15:21:57 +0000
commitec551d6af1e0ff59a7f9db27665c8eb5c3ec59a4 (patch)
tree34cb4fcfc73e5e67cb6d01f954ff4c326c26d62f
parent918440a4e748d46195a76438ad8d654f61f34cc1 (diff)
Hack to fix layout on OS X (#891).
-rw-r--r--src/wx/timing_panel.cc4
1 files changed, 4 insertions, 0 deletions
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 */