From a1f95f87b8254760d7151ba3928cf1071afcc884 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 7 Jun 2021 00:16:47 +0200 Subject: [PATCH] Add DCPOMATIC_CHOICE_TOP_PAD. --- src/wx/wx_util.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2