cocoa layout optimization, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,8 +22,13 @@ BEGIN_EVENT_TABLE(wxSlider, wxControl)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
// The dimensions of the different styles of sliders (from Aqua document)
|
// The dimensions of the different styles of sliders (from Aqua document)
|
||||||
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
|
#ifdef wxOSX_USE_COCOA
|
||||||
#define wxSLIDER_DIMENSIONACROSS_ARROW 18
|
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 25
|
||||||
|
#define wxSLIDER_DIMENSIONACROSS_ARROW 21
|
||||||
|
#else
|
||||||
|
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
|
||||||
|
#define wxSLIDER_DIMENSIONACROSS_ARROW 18
|
||||||
|
#endif
|
||||||
|
|
||||||
// Distance between slider and text
|
// Distance between slider and text
|
||||||
#define wxSLIDER_BORDERTEXT 5
|
#define wxSLIDER_BORDERTEXT 5
|
||||||
|
Reference in New Issue
Block a user