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:
Artur Wieczorek
2020-04-14 20:48:46 +02:00
parent c34440ffee
commit 871a7db022

View File

@@ -1890,7 +1890,7 @@ wxWindow* wxPropertyGrid::GenerateEditorTextCtrl( const wxPoint& pos,
// Need to reduce width of text control on Mac
#if defined(__WXMAC__)
s.x -= 8;
s.x -= 4;
#endif
// For label editors, trim the size to allow better splitter grabbing