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 authored and Noisyfox committed 2025-09-16 14:49:15 +08:00
1 parent c1fe23d824
commit 6c4479d0ea
3 files changed
+13 -4

No files matched your search

+9
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();