FIX: param full field with for multiline option

Change-Id: I8dd53e461645810e6db3e17b75e3e7c4a0c1e01d
This commit is contained in:
chunmao.guo 2023-03-28 16:01:07 +08:00 committed by Lane.Wei
parent 04d24fbb2f
commit 4b5fa4fe58
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void OptionsGroup::activate_line(Line& line)
const auto h_sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(h_sizer, 1, wxEXPAND | wxALL, wxOSX ? 0 : 5);
if (is_window_field(field))
h_sizer->Add(field->getWindow(), 1, wxEXPAND | wxLEFT, titleWidth * wxGetApp().em_unit());
h_sizer->Add(field->getWindow(), 1, wxEXPAND | wxLEFT, option.opt.multiline ? 0 : titleWidth * wxGetApp().em_unit());
if (is_sizer_field(field))
h_sizer->Add(field->getSizer(), 1, wxEXPAND | wxLEFT, titleWidth * wxGetApp().em_unit());
return;