FIX: [STUDIO-1562] fix sizeof PresetComboBox

Change-Id: Ia64128f9fded669cd3e7eb1c64868fada76df6b8
This commit is contained in:
chunmao.guo 2022-12-06 13:59:20 +08:00 committed by Lane.Wei
parent cfafbc812f
commit 15d6130b29
3 changed files with 7 additions and 7 deletions

View file

@ -343,7 +343,7 @@ void Tab::create_preset_tab()
// BBS: model config
if (m_presets_choice) {
m_presets_choice->Reparent(m_top_panel);
m_top_sizer->Add(m_presets_choice, 1, wxLEFT | wxRIGHT | wxEXPAND, 10);
m_top_sizer->Add(m_presets_choice, 1, wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, 10);
} else {
m_top_sizer->AddSpacer(10);
m_top_sizer->AddStretchSpacer(1);