FIX:Fixed some UI layout issues for monitor page

Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-02-01 16:24:44 +08:00
1 parent 143f9cfe99
commit 8d2f3c8440
2 files changed
+5 -1

No files matched your search

@@ -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);
}