Let search field in Hotkeys menu expand horizontally

On Linux with wx 3.1 it was too small to use by default
This commit is contained in:
Myaamori 2021-01-31 23:28:12 +00:00 committed by Ryan Lucia
parent ca7501c7ed
commit c6f4ea45aa
1 changed files with 1 additions and 2 deletions

View File

@ -607,8 +607,7 @@ Interface_Hotkeys::Interface_Hotkeys(wxTreebook *book, Preferences *parent)
dvc->AppendTextColumn("Description", 2, wxDATAVIEW_CELL_INERT, 300, wxALIGN_LEFT, wxCOL_SORTABLE | wxCOL_RESIZABLE);
wxSizer *buttons = new wxBoxSizer(wxHORIZONTAL);
buttons->Add(quick_search, wxSizerFlags().Border());
buttons->AddStretchSpacer(1);
buttons->Add(quick_search, wxSizerFlags(1).Expand().Border());
buttons->Add(new_button, wxSizerFlags().Border());
buttons->Add(edit_button, wxSizerFlags().Border());
buttons->Add(delete_button, wxSizerFlags().Border());