From 981e3af756a77e4bf0bb5d7c9f0001d97bd38918 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 19 Apr 2018 13:55:01 +0200 Subject: make events appear at the right time and have the right height --- views/calendar/qml/WeekView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 877500c5..9eafe881 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml @@ -213,8 +213,8 @@ FocusScope { rightMargin: Kube.Units.smallSpacing } width: Kube.Units.gridUnit * 7 - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.modelData.indention - height: Kube.Units.gridUnit * model.modelData.duration - y: Kube.Units.gridUnit * model.modelData.starts + height: Kube.Units.gridUnit * model.modelData.duration * 2 + y: Kube.Units.gridUnit * model.modelData.starts * 2 x: Kube.Units.gridUnit * model.modelData.indention color: model.modelData.color -- cgit v1.2.3