FIX:Fixed some UI layout issues for monitor page

Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
This commit is contained in:
tao wang 2023-01-12 10:30:57 +08:00 committed by Lane.Wei
parent 143f9cfe99
commit 8d2f3c8440
2 changed files with 5 additions and 1 deletions

View file

@ -312,6 +312,7 @@ void FanSwitchButton::render(wxDC& dc)
dc.SetTextForeground(text_color.colorForStates(states));
pt.x = (size.x - dc.GetTextExtent(speed).x) / 2;
pt.y -= FromDIP(5);
dc.DrawText(speed, pt);
}