FIX: update some scale while DPI changed

jira: [STUDIO-10067]
Change-Id: Icb8480d01bdf20a17c699746677d54fc8c8680a6
(cherry picked from commit 677ec9e364a47b944b3ebee5519aea4c35439af1)
This commit is contained in:
xin.zhang 2025-01-22 20:20:09 +08:00 committed by Noisyfox
parent c1fe23d824
commit 6c4479d0ea
3 changed files with 13 additions and 4 deletions

View file

@ -5018,6 +5018,15 @@ void StatusPanel::msw_rescale()
m_tempCtrl_chamber->SetMinSize(size);
m_tempCtrl_chamber->Rescale();
for(int i = 0; i < m_extruder_book->GetPageCount(); i++)
{
ExtruderImage* ext_img = dynamic_cast<ExtruderImage*> (m_extruder_book->GetPage(i));
if (ext_img)
{
ext_img->msw_rescale();
}
}
m_bitmap_speed.msw_rescale();
m_bitmap_speed_active.msw_rescale();