hefty: bar: center time

This commit is contained in:
end-4
2026-02-07 10:00:35 +01:00
parent 139e64c28e
commit bdf91e1d16
2 changed files with 40 additions and 2 deletions
@@ -59,10 +59,10 @@ W.ButtonMouseArea {
sourceComponent: RowLayout {
anchors.fill: parent
W.StyledText {
W.VisuallyCenteredStyledText {
Layout.leftMargin: root.layoutParentTopLeftRadius * root.parentRadiusToPaddingRatio
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
horizontalAlignment: Text.AlignHCenter
Layout.fillHeight: true
font.pixelSize: C.Appearance.font.pixelSize.large
color: C.Appearance.colors.colOnLayer1
text: S.DateTime.time