summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/calendar/qml/WeekView.qml14
1 files changed, 4 insertions, 10 deletions
diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml
index 8aa9fe94..55adc3c4 100644
--- a/views/calendar/qml/WeekView.qml
+++ b/views/calendar/qml/WeekView.qml
@@ -19,7 +19,7 @@
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21import QtQuick.Controls 2.2 21import QtQuick.Controls 2.2
22import Qt.labs.calendar 1.0 22import Qt.labs.calendar 1.0 as Calendar
23 23
24import org.kube.framework 1.0 as Kube 24import org.kube.framework 1.0 as Kube
25 25
@@ -59,7 +59,7 @@ FocusScope {
59 height: root.height 59 height: root.height
60 60
61 //BEGIN day labels 61 //BEGIN day labels
62 DayOfWeekRow { 62 Calendar.DayOfWeekRow {
63 id: dayLabels 63 id: dayLabels
64 anchors.right: parent.right 64 anchors.right: parent.right
65 spacing: 0 65 spacing: 0
@@ -69,17 +69,11 @@ FocusScope {
69 width: root.dayWidth 69 width: root.dayWidth
70 height: Kube.Units.gridUnit + Kube.Units.smallSpacing * 3 70 height: Kube.Units.gridUnit + Kube.Units.smallSpacing * 3
71 71
72 border.width: 1
73 border.color: Kube.Colors.lightgrey
74 color: Kube.Colors.viewBackgroundColor 72 color: Kube.Colors.viewBackgroundColor
75 73
76 Kube.Label { 74 Kube.Label {
77 anchors { 75 anchors.centerIn: parent
78 top: parent.top 76 text: model.longName
79 left: parent.left
80 margins: Kube.Units.smallSpacing
81 }
82 text: model.shortName
83 } 77 }
84 } 78 }
85 } 79 }