projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cab4c17
)
Add DCPOMATIC_CHOICE_TOP_PAD.
author
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 22:16:47 +0000
(
00:16
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 22:48:59 +0000
(
00:48
+0200)
src/wx/wx_util.h
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.h
b/src/wx/wx_util.h
index d5e3325492b276c5f45625208b13e08288640974..aa3dc60dba7bf5aafe12d8b460d5c7b911464316 100644
(file)
--- a/
src/wx/wx_util.h
+++ b/
src/wx/wx_util.h
@@
-66,6
+66,13
@@
class PasswordEntry;
#define DCPOMATIC_CHECKBOX_BOTTOM_PAD 0
#endif
+/** Amount by which you need to top-pad a choice to make it line up, in some cases */
+#ifdef DCPOMATIC_OSX
+#define DCPOMATIC_CHOICE_TOP_PAD 1
+#else
+#define DCPOMATIC_CHOICE_TOP_PAD 0
+#endif
+
/** Spacing to use between buttons in a vertical/horizontal line */
#if defined(DCPOMATIC_OSX) || defined(__WXGTK3__)
#define DCPOMATIC_BUTTON_STACK_GAP 2