summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-07 00:16:47 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-07 00:48:59 +0200
commita1f95f87b8254760d7151ba3928cf1071afcc884 (patch)
tree8bbe86a72c96117685b8f70ce6e4da7bbe33e380
parentcab4c177cd68fb1c81027450cbcd422876f92fb2 (diff)
Add DCPOMATIC_CHOICE_TOP_PAD.
-rw-r--r--src/wx/wx_util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index d5e332549..aa3dc60db 100644
--- 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