Fixed controls layout in ExtruderSequenceDialog

Dimension of SVG-icons is calculated now according to the scale factor (on Retina displays)
This commit is contained in:
YuSanka 2019-11-08 14:52:11 +01:00
parent ae4948bd94
commit db458df3b5
2 changed files with 29 additions and 10 deletions

View file

@ -157,9 +157,9 @@ void ExtruderSequenceDialog::apply_extruder_sequence()
apply_extruder_sequence();
});
m_extruders_grid_sizer->Add(extruder_selector);
m_extruders_grid_sizer->Add(del_btn);
m_extruders_grid_sizer->Add(add_btn);
m_extruders_grid_sizer->Add(extruder_selector, 0, wxALIGN_CENTER_VERTICAL);
m_extruders_grid_sizer->Add(del_btn, 0, wxALIGN_CENTER_VERTICAL);
m_extruders_grid_sizer->Add(add_btn, 0, wxALIGN_CENTER_VERTICAL);
}
Fit();