projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32d04dd
)
Fix link icon width again.
author
Carl Hetherington
<cth@carlh.net>
Sat, 11 May 2024 08:57:01 +0000
(10:57 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 11 May 2024 08:57:01 +0000
(10:57 +0200)
Seems to be different on wxWidgets 3.1.x vs 3.2.x.
src/wx/video_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/video_panel.cc
b/src/wx/video_panel.cc
index 859c0a886c8be59a76445c01a0640dd3b5c3eb38..e065f9bb4b8ef548a3389b3bddce6611a73a0540 100644
(file)
--- a/
src/wx/video_panel.cc
+++ b/
src/wx/video_panel.cc
@@
-108,7
+108,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;