summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/View.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r--views/calendar/qml/View.qml22
1 files changed, 3 insertions, 19 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 2a819ab6..917d0c80 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -69,27 +69,11 @@ RowLayout {
69 width: parent.width 69 width: parent.width
70 spacing: Kube.Units.smallSpacing 70 spacing: Kube.Units.smallSpacing
71 71
72 Row { 72 DateView {
73 spacing: Kube.Units.smallSpacing 73 date: root.currentDate
74 Kube.Label { 74 }
75 anchors.verticalCenter: parent.verticalCenter
76 text: root.currentDate.getDate()
77 color: Kube.Colors.highlightedTextColor 75 color: Kube.Colors.highlightedTextColor
78 font.pointSize: Kube.Units.defaultFontSize * 3
79 } 76 }
80 Column {
81 anchors.verticalCenter: parent.verticalCenter
82 Kube.Label {
83 text: root.currentDate.toLocaleString(Qt.locale(), "dddd")
84 color: Kube.Colors.highlightedTextColor
85 }
86 Kube.Label {
87 text: root.currentDate.toLocaleString(Qt.locale(), "MMMM yyyy")
88 color: Kube.Colors.highlightedTextColor
89 font.pointSize: Kube.Units.smallFontSize
90 }
91 }
92
93 } 77 }
94 } 78 }
95 79