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

@ -556,7 +556,7 @@ Sidebar::Sidebar(Plater *parent)
//bed_type_title->SetBackgroundColour();
bed_type_title->Wrap(-1);
bed_type_title->SetFont(Label::Body_14);
m_bed_type_list = new ComboBox(p->m_panel_printer_content, wxID_ANY, wxString(""), wxDefaultPosition, {-1, FromDIP(24)}, 0, nullptr, wxCB_READONLY);
m_bed_type_list = new ComboBox(p->m_panel_printer_content, wxID_ANY, wxString(""), wxDefaultPosition, {-1, FromDIP(30)}, 0, nullptr, wxCB_READONLY);
const ConfigOptionDef* bed_type_def = print_config_def.get("curr_bed_type");
if (bed_type_def && bed_type_def->enum_keys_map) {
for (auto item : *bed_type_def->enum_keys_map) {