From: Carl Hetherington Date: Sun, 6 Jun 2021 22:16:47 +0000 (+0200) Subject: Add DCPOMATIC_CHOICE_TOP_PAD. X-Git-Tag: v2.15.155~22 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=a1f95f87b8254760d7151ba3928cf1071afcc884 Add DCPOMATIC_CHOICE_TOP_PAD. --- 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