summaryrefslogtreecommitdiff
path: root/modules/bar/components/Clock.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/components/Clock.qml')
-rw-r--r--modules/bar/components/Clock.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/Clock.qml b/modules/bar/components/Clock.qml
index a34cc2c..49ef103 100644
--- a/modules/bar/components/Clock.qml
+++ b/modules/bar/components/Clock.qml
@@ -18,8 +18,8 @@ BoxLayout {
Layout.alignment: Layout.Center
}
- Label {
- horizontalAlignment: Label.AlignHCenter
+ StyledText {
+ horizontalAlignment: StyledText.AlignHCenter
text: root.vertical ? Time.format("hh\nmm") : Time.format("dd/MM/yy hh:mm")
font.pointSize: Appearance.font.size.smaller
font.family: Appearance.font.family.mono