summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 20:26:51 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 20:26:51 +0200
commitb2d7f528a6b48cf79fe808651e373c63c6f71cee (patch)
tree35ff46704a7cb84d1386731aa6a84e15e245a280
parent4b611ff24f87c3c1b6e7ad77bfcebcf94c502049 (diff)
downloadkube-b2d7f528a6b48cf79fe808651e373c63c6f71cee.tar.gz
kube-b2d7f528a6b48cf79fe808651e373c63c6f71cee.zip
Display full day names
-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 }