diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index a545f473..36989032 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -71,14 +71,16 @@ FocusScope { | |||
71 | model: DaylongEvents {} | 71 | model: DaylongEvents {} |
72 | 72 | ||
73 | delegate: Item { | 73 | delegate: Item { |
74 | height: Kube.Units.gridUnit | 74 | height: Kube.Units.gridUnit + 2 // +2 to make good for the white border |
75 | width: daylong.width | 75 | width: daylong.width |
76 | 76 | ||
77 | Rectangle { | 77 | Rectangle { |
78 | width: Kube.Units.gridUnit * 7 * model.duration | 78 | width: Kube.Units.gridUnit * 7 * model.duration |
79 | height: Kube.Units.gridUnit | 79 | height: parent.height |
80 | x: Kube.Units.gridUnit * 7 * model.starts | 80 | x: Kube.Units.gridUnit * 7 * model.starts |
81 | color: model.color | 81 | color: model.color |
82 | border.width: 1 | ||
83 | border.color: Kube.Colors.viewBackgroundColor | ||
82 | 84 | ||
83 | Kube.Label { | 85 | Kube.Label { |
84 | anchors { | 86 | anchors { |
@@ -94,7 +96,6 @@ FocusScope { | |||
94 | } | 96 | } |
95 | 97 | ||
96 | RowLayout { | 98 | RowLayout { |
97 | |||
98 | anchors.horizontalCenter: parent.horizontalCenter | 99 | anchors.horizontalCenter: parent.horizontalCenter |
99 | 100 | ||
100 | spacing: 0 | 101 | spacing: 0 |
@@ -127,6 +128,8 @@ FocusScope { | |||
127 | x: Kube.Units.gridUnit * model.indention | 128 | x: Kube.Units.gridUnit * model.indention |
128 | 129 | ||
129 | color: model.color | 130 | color: model.color |
131 | border.width: 1 | ||
132 | border.color: Kube.Colors.viewBackgroundColor | ||
130 | 133 | ||
131 | Kube.Label { | 134 | Kube.Label { |
132 | anchors { | 135 | anchors { |