nbattery: smaller text in vertical mode

This commit is contained in:
Lemmy
2026-02-04 18:15:18 -05:00
parent d1aa59a69d
commit 364a6f9163
+1 -1
View File
@@ -154,7 +154,7 @@ Item {
font.family: Settings.data.ui.fontFixed
font.weight: Style.fontWeightBold
text: Math.round(root.animatedPercentage)
pointSize: root.baseSize * 0.82
pointSize: root.baseSize * (root.vertical ? 0.78 : 0.82)
color: Qt.alpha(root.textColor, 0.75)
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter