From cc141e346d60ea6b3b254a80570aa0fa87dcd769 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sun, 14 Apr 2024 01:19:55 +0300 Subject: [PATCH] Tweak GRID_CELL_STC_EDITOR offset on GTK. (cherry picked from commit ab531a33d9c9e4780d1e345ca7d6d5ad1ad5b339) --- common/widgets/grid_text_helpers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/widgets/grid_text_helpers.cpp b/common/widgets/grid_text_helpers.cpp index b805675e7d..e55962f1e9 100644 --- a/common/widgets/grid_text_helpers.cpp +++ b/common/widgets/grid_text_helpers.cpp @@ -123,6 +123,8 @@ void GRID_CELL_STC_EDITOR::SetSize( const wxRect& aRect ) #if defined( __WXMSW__ ) rect.Offset( -1, 1 ); +#elif defined( __WXGTK__ ) + rect.Offset( -1, 3 ); #endif wxGridCellEditor::SetSize( rect );