1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

Update CpuMonitor.qml to reserve enough widget space for the widest number "100" instead of "88" (#2135)

My bar kept shifting around by a few pixels every time I hit 100% cpu usage
This commit is contained in:
dev
2026-04-02 12:26:56 -07:00
committed by GitHub
parent ce2a92ec27
commit 61ee5f4336

View File

@@ -102,7 +102,7 @@ BasePill {
StyledTextMetrics {
id: cpuBaseline
font.pixelSize: Theme.barTextSize(root.barThickness, root.barConfig?.fontScale, root.barConfig?.maximizeWidgetText)
text: "88%"
text: "100%"
}
StyledTextMetrics {