Improve appearance of wxBitmapComboBox under OS X.
The bitmap that appears next to the edit field is being cropped vertically after a certain bitmap height. Increase the vertical spacing reserved for the bitmap under OS X to fix the cropping.
This commit is contained in:
@@ -41,7 +41,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define IMAGE_SPACING_CTRL_VERTICAL 7 // Spacing used in control size calculation
|
// Spacing used in control size calculation
|
||||||
|
#ifdef __WXOSX__
|
||||||
|
#define IMAGE_SPACING_CTRL_VERTICAL 12
|
||||||
|
#else
|
||||||
|
#define IMAGE_SPACING_CTRL_VERTICAL 7
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user