summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/calendar/qml/DateSelector.qml20
1 files changed, 18 insertions, 2 deletions
diff --git a/views/calendar/qml/DateSelector.qml b/views/calendar/qml/DateSelector.qml
index 2a341c41..cdaa819b 100644
--- a/views/calendar/qml/DateSelector.qml
+++ b/views/calendar/qml/DateSelector.qml
@@ -26,8 +26,17 @@ Column {
26 property date selectedDate 26 property date selectedDate
27 spacing: Kube.Units.smallSpacing 27 spacing: Kube.Units.smallSpacing
28 28
29 Row { 29 Item {
30 anchors {
31 left: parent.left
32 right: parent.right
33 }
34 height: Kube.Units.gridUnit
30 Kube.IconButton { 35 Kube.IconButton {
36 anchors {
37 verticalCenter: parent.verticalCenter
38 left: parent.left
39 }
31 color: Kube.Colors.darkBackgroundColor 40 color: Kube.Colors.darkBackgroundColor
32 iconName: Kube.Icons.goBack_inverted 41 iconName: Kube.Icons.goBack_inverted
33 onClicked: { 42 onClicked: {
@@ -38,12 +47,19 @@ Column {
38 } 47 }
39 } 48 }
40 Kube.Label { 49 Kube.Label {
41 anchors.verticalCenter: parent.verticalCenter 50 anchors {
51 verticalCenter: parent.verticalCenter
52 horizontalCenter: parent.horizontalCenter
53 }
42 color: Kube.Colors.highlightedTextColor 54 color: Kube.Colors.highlightedTextColor
43 font.bold: true 55 font.bold: true
44 text: root.selectedDate.toLocaleString(Qt.locale(), "MMMM yyyy") 56 text: root.selectedDate.toLocaleString(Qt.locale(), "MMMM yyyy")
45 } 57 }
46 Kube.IconButton { 58 Kube.IconButton {
59 anchors {
60 verticalCenter: parent.verticalCenter
61 right: parent.right
62 }
47 color: Kube.Colors.darkBackgroundColor 63 color: Kube.Colors.darkBackgroundColor
48 iconName: Kube.Icons.goNext_inverted 64 iconName: Kube.Icons.goNext_inverted
49 onClicked: { 65 onClicked: {