filter ctrl: don't force height

This commit is contained in:
Twan van Laarhoven
2020-04-18 19:12:52 +02:00
parent 60c392a068
commit e464327e69
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class TextCtrlWithFocus : public wxTextCtrl {
}; };
FilterCtrl::FilterCtrl(wxWindow* parent, int id, String const& placeholder) FilterCtrl::FilterCtrl(wxWindow* parent, int id, String const& placeholder)
: wxControl(parent, id, wxDefaultPosition, wxSize(160,41), wxSTATIC_BORDER) : wxControl(parent, id, wxDefaultPosition, wxSize(160,-1), wxSTATIC_BORDER)
, changing(false) , changing(false)
, placeholder(placeholder) , placeholder(placeholder)
{ {