mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
FIX:Fixed some UI layout issues for monitor page
Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
This commit is contained in:
parent
143f9cfe99
commit
8d2f3c8440
2 changed files with 5 additions and 1 deletions
|
@ -1091,7 +1091,10 @@ void StatusBasePanel::show_ams_group(bool show, bool support_virtual_tray)
|
||||||
m_ams_control->Show(true);
|
m_ams_control->Show(true);
|
||||||
m_ams_control_box->Show(true);
|
m_ams_control_box->Show(true);
|
||||||
m_ams_control->show_noams_mode(show, support_virtual_tray);
|
m_ams_control->show_noams_mode(show, support_virtual_tray);
|
||||||
Fit();
|
|
||||||
|
if (m_show_ams_group != show) {
|
||||||
|
Fit();
|
||||||
|
}
|
||||||
m_show_ams_group = show;
|
m_show_ams_group = show;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -312,6 +312,7 @@ void FanSwitchButton::render(wxDC& dc)
|
||||||
dc.SetTextForeground(text_color.colorForStates(states));
|
dc.SetTextForeground(text_color.colorForStates(states));
|
||||||
|
|
||||||
pt.x = (size.x - dc.GetTextExtent(speed).x) / 2;
|
pt.x = (size.x - dc.GetTextExtent(speed).x) / 2;
|
||||||
|
pt.y -= FromDIP(5);
|
||||||
dc.DrawText(speed, pt);
|
dc.DrawText(speed, pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue