diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-07 22:14:33 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-07 22:14:33 +0200 |
| commit | 65bd479a3008fb269925e1ce92e547c863ede73d (patch) | |
| tree | 1c45afc5d88754e832ed42751ec2eda37b96e091 /src/wx/wx_util.h | |
| parent | f3e52bd763513190de60e7f6b68c50b34ab80fee (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.h | 5 |
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__) |
