diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 14:51:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 14:51:37 +0200 |
commit | 8bf3d43866ed23edc667b8c64295687e6e4bbc3d (patch) | |
tree | 8943f2fc879d60290c6223ef7cb3ab22c404d6ea /views | |
parent | 2085b83960cbb8e4693cf48a5bd265aa946256de (diff) | |
download | kube-8bf3d43866ed23edc667b8c64295687e6e4bbc3d.tar.gz kube-8bf3d43866ed23edc667b8c64295687e6e4bbc3d.zip |
Calculate indentation
Diffstat (limited to 'views')
-rw-r--r-- | views/calendar/qml/WeekView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 08c56e5a..9366becc 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml | |||
@@ -260,10 +260,10 @@ FocusScope { | |||
260 | rightMargin: Kube.Units.smallSpacing | 260 | rightMargin: Kube.Units.smallSpacing |
261 | } | 261 | } |
262 | radius: 2 | 262 | radius: 2 |
263 | width: root.dayWidth - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.modelData.indention | 263 | width: root.dayWidth - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.modelData.indentation |
264 | height: Math.max(root.hourHeight * 0.5, root.hourHeight * model.modelData.duration) | 264 | height: Math.max(root.hourHeight * 0.5, root.hourHeight * model.modelData.duration) |
265 | y: root.hourHeight * model.modelData.starts | 265 | y: root.hourHeight * model.modelData.starts |
266 | x: Kube.Units.gridUnit * model.modelData.indention | 266 | x: Kube.Units.gridUnit * model.modelData.indentation |
267 | 267 | ||
268 | color: model.modelData.color | 268 | color: model.modelData.color |
269 | opacity: 0.8 | 269 | opacity: 0.8 |