Improve hack for GTK wxSearchCtrl.

Fixes https://gitlab.com/kicad/code/kicad/issues/4230
This commit is contained in:
Jeff Young 2020-04-24 14:54:35 +01:00
parent 7f742ef934
commit b09463cc86
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ PANEL_HOTKEYS_EDITOR::PANEL_HOTKEYS_EDITOR( EDA_BASE_FRAME* aFrame, wxWindow* aW
#ifdef __WXGTK__
// Work around a bug that clips the text vertically in the wxSearchCtrl on GTK
filterSearch->SetMinSize( wxSize( filterSearch->GetSize().x,
filterSearch->GetSize().y + 4 ) );
int( filterSearch->GetSize().y * 1.5 ) ) );
this->Layout();
#endif