summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-07 22:14:33 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-07 22:14:33 +0200
commit65bd479a3008fb269925e1ce92e547c863ede73d (patch)
tree1c45afc5d88754e832ed42751ec2eda37b96e091 /src/wx/wx_util.h
parentf3e52bd763513190de60e7f6b68c50b34ab80fee (diff)
Add DCPOMATIC_SPIN_CTRL_WIDTH and use it in a few places.
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 1c459595e..0c2eabce0 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -51,6 +51,11 @@ class PasswordEntry;
#define DCPOMATIC_SIZER_Y_GAP 8
#define DCPOMATIC_SIZER_GAP 8
#define DCPOMATIC_DIALOG_BORDER 12
+#ifdef __WXGTK3__
+#define DCPOMATIC_SPIN_CTRL_WIDTH 118
+#else
+#define DCPOMATIC_SPIN_CTRL_WIDTH 56
+#endif
/** Spacing to use between buttons in a vertical/horizontal line */
#if defined(DCPOMATIC_OSX) || defined(__WXGTK3__)