FIX: [STUDIO-2536] m_print_error_dlg darkUI issue
Change-Id: Ibd759855665649a24fa90069679516dc0250c1ee
This commit is contained in:
parent
5a7e3cebcb
commit
7235e146e2
|
@ -792,6 +792,11 @@ void SecondaryCheckDialog::on_dpi_changed(const wxRect& suggested_rect)
|
|||
rescale();
|
||||
}
|
||||
|
||||
void SecondaryCheckDialog::msw_rescale() {
|
||||
wxGetApp().UpdateFrameDarkUI(this);
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void SecondaryCheckDialog::rescale()
|
||||
{
|
||||
m_button_ok->Rescale();
|
||||
|
|
|
@ -131,6 +131,7 @@ public:
|
|||
void rescale();
|
||||
~SecondaryCheckDialog();
|
||||
void on_dpi_changed(const wxRect& suggested_rect);
|
||||
void msw_rescale();
|
||||
|
||||
Label* m_staticText_release_note {nullptr};
|
||||
wxBoxSizer* m_sizer_main;
|
||||
|
|
|
@ -3654,6 +3654,7 @@ void StatusPanel::on_sys_color_changed()
|
|||
m_bitmap_speed_active.msw_rescale();
|
||||
m_switch_speed->SetImages(m_bitmap_speed, m_bitmap_speed);
|
||||
m_ams_control->msw_rescale();
|
||||
if (m_print_error_dlg) { m_print_error_dlg->msw_rescale(); }
|
||||
if (m_filament_setting_dlg) {m_filament_setting_dlg->msw_rescale();}
|
||||
rescale_camera_icons();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue