diff options
-rw-r--r-- | views/calendar/qml/WeekView.qml | 14 |
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 @@ | |||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import QtQuick.Controls 2.2 | 21 | import QtQuick.Controls 2.2 |
22 | import Qt.labs.calendar 1.0 | 22 | import Qt.labs.calendar 1.0 as Calendar |
23 | 23 | ||
24 | import org.kube.framework 1.0 as Kube | 24 | import 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 | } |