From 871a7db022b5d39ead6c2febf0a326349c167551 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Tue, 14 Apr 2020 20:48:46 +0200 Subject: [PATCH] Improve wxPropertyGrid text editor layout under wxOSX Text editor field can be slightly longer to be displayed closer to the editor button. --- src/propgrid/editors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index 078b5f4f95..66b3d27a39 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -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