projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1905ef2
)
Add DCPOMATIC_CHECKBOX_BOTTOM_PAD.
author
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 10:23:18 +0000
(12:23 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 10:23:18 +0000
(12:23 +0200)
src/wx/wx_util.h
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.h
b/src/wx/wx_util.h
index 0c2eabce0faf4db9ea347d7951c8089df5984b2a..d5e3325492b276c5f45625208b13e08288640974 100644
(file)
--- a/
src/wx/wx_util.h
+++ b/
src/wx/wx_util.h
@@
-57,6
+57,15
@@
class PasswordEntry;
#define DCPOMATIC_SPIN_CTRL_WIDTH 56
#endif
#define DCPOMATIC_SPIN_CTRL_WIDTH 56
#endif
+/** Amount by which you need to bottom-pad text next to a checkbox in order
+ * for the text baselines to be aligned.
+ */
+#ifdef DCPOMATIC_OSX
+#define DCPOMATIC_CHECKBOX_BOTTOM_PAD 2
+#else
+#define DCPOMATIC_CHECKBOX_BOTTOM_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
/** Spacing to use between buttons in a vertical/horizontal line */
#if defined(DCPOMATIC_OSX) || defined(__WXGTK3__)
#define DCPOMATIC_BUTTON_STACK_GAP 2