mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
nbattery: smaller text in vertical mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user