1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

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

+ Set wider default size for Preset Comboboxes from Tabs (#2023)
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
+5 -3
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();
}
// -<-
}