summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-16 14:59:50 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-16 14:59:50 +0200
commiteb6f689b8e9d982d73612af2ba5ddc7ab021aec8 (patch)
treeac58fbabe3e13fa656d19543320b4a42206073dd /src/wx/video_panel.cc
parent8aa25e2ec75dada5f07a3860d668241821056f61 (diff)
parent7a9cadc6fe86c74035dd971685b1acdc8f32d3fc (diff)
Merge branch 'main' into v2.17.x
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 5a91df8fe..65f381fe3 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -100,7 +100,11 @@ VideoPanel::create ()
int const link_height = 32;
#elif defined(DCPOMATIC_OSX)
int const crop_width = 56;
+#if wxCHECK_VERSION(3, 2, 0)
int const link_width = 8 + 15 / dpi_scale_factor(this);
+#else
+ int const link_width = 23;
+#endif
int const link_height = 28;
#else
int const crop_width = 56;