From b2d7f528a6b48cf79fe808651e373c63c6f71cee Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 1 Aug 2018 20:26:51 +0200 Subject: Display full day names --- views/calendar/qml/WeekView.qml | 14 ++++---------- 1 file 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 @@ import QtQuick 2.4 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.2 -import Qt.labs.calendar 1.0 +import Qt.labs.calendar 1.0 as Calendar import org.kube.framework 1.0 as Kube @@ -59,7 +59,7 @@ FocusScope { height: root.height //BEGIN day labels - DayOfWeekRow { + Calendar.DayOfWeekRow { id: dayLabels anchors.right: parent.right spacing: 0 @@ -69,17 +69,11 @@ FocusScope { width: root.dayWidth height: Kube.Units.gridUnit + Kube.Units.smallSpacing * 3 - border.width: 1 - border.color: Kube.Colors.lightgrey color: Kube.Colors.viewBackgroundColor Kube.Label { - anchors { - top: parent.top - left: parent.left - margins: Kube.Units.smallSpacing - } - text: model.shortName + anchors.centerIn: parent + text: model.longName } } } -- cgit v1.2.3