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.qml14
1 files changed, 9 insertions, 5 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 1b72881d..a545f473 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -29,7 +29,6 @@ FocusScope {
29 property var month: Calendar.March 29 property var month: Calendar.March
30 property var year: 2017 30 property var year: 2017
31 31
32
33 Column { 32 Column {
34 anchors.centerIn: parent 33 anchors.centerIn: parent
35 34
@@ -118,10 +117,15 @@ FocusScope {
118 model: parent.events 117 model: parent.events
119 118
120 delegate: Rectangle { 119 delegate: Rectangle {
121 anchors.horizontalCenter: parent.horizontalCenter 120 anchors {
122 width: parent.width - Kube.Units.smallSpacing * 2 121 right: parent.right
123 height: Kube.Units.gridUnit * duration 122 rightMargin: Kube.Units.smallSpacing
124 y: Kube.Units.gridUnit * starts 123 }
124 width: parent.width - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.indention
125 height: Kube.Units.gridUnit * model.duration
126 y: Kube.Units.gridUnit * model.starts
127 x: Kube.Units.gridUnit * model.indention
128
125 color: model.color 129 color: model.color
126 130
127 Kube.Label { 131 Kube.Label {