Improve wxPropertyGrid text editor layout under wxOSX
Text editor field can be slightly longer to be displayed closer to the editor button.
This commit is contained in:
@@ -1890,7 +1890,7 @@ wxWindow* wxPropertyGrid::GenerateEditorTextCtrl( const wxPoint& pos,
|
|||||||
|
|
||||||
// Need to reduce width of text control on Mac
|
// Need to reduce width of text control on Mac
|
||||||
#if defined(__WXMAC__)
|
#if defined(__WXMAC__)
|
||||||
s.x -= 8;
|
s.x -= 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For label editors, trim the size to allow better splitter grabbing
|
// For label editors, trim the size to allow better splitter grabbing
|
||||||
|
Reference in New Issue
Block a user