Browse Source

Adjust GTK hack for wxSearchCtrl.

Fixes https://gitlab.com/kicad/code/kicad/issues/4230
pull/16/head
Jeff Young 6 years ago
parent
commit
c67d819b17
  1. 2
      common/dialogs/panel_hotkeys_editor.cpp

2
common/dialogs/panel_hotkeys_editor.cpp

@ -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,
int( filterSearch->GetSize().y * 1.5 ) ) );
int( filterSearch->GetSize().y * 1.6 ) ) );
this->Layout();
#endif

Loading…
Cancel
Save