Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel

+ Set wider default size for Preset Comboboxes from Tabs ()
This commit is contained in:
YuSanka 2019-04-16 10:05:45 +02:00
parent e502b33f41
commit ae2c61160f
15 changed files with 398 additions and 162 deletions
src/slic3r/GUI

View file

@ -297,16 +297,18 @@ void MainFrame::on_dpi_changed(const wxRect &suggested_rect)
*/
wxGetApp().preset_bundle->load_default_preset_bitmaps(this);
// update preset comboboxes on Plater
wxGetApp().sidebar().rescale();
// update Plater
wxGetApp().plater()->rescale();
// update preset comboboxes on Tabs
// update Tabs
for (auto tab : wxGetApp().tabs_list)
tab->rescale();
Layout();
Thaw();
Refresh();
}
// -<-
}