summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/calendar/qml/View.qml23
1 files changed, 13 insertions, 10 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 05032af9..0ef87e65 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -133,7 +133,8 @@ RowLayout {
133 delegate: Item { 133 delegate: Item {
134 width: parent.width - Kube.Units.largeSpacing 134 width: parent.width - Kube.Units.largeSpacing
135 height: Kube.Units.gridUnit 135 height: Kube.Units.gridUnit
136 Row { 136 RowLayout {
137 anchors.fill: parent
137 spacing: Kube.Units.smallSpacing 138 spacing: Kube.Units.smallSpacing
138 Kube.CheckBox { 139 Kube.CheckBox {
139 opacity: 0.9 140 opacity: 0.9
@@ -141,18 +142,20 @@ RowLayout {
141 onToggled: model.checked = !checked 142 onToggled: model.checked = !checked
142 } 143 }
143 Kube.Label { 144 Kube.Label {
145 Layout.fillWidth: true
144 text: model.name 146 text: model.name
145 color: Kube.Colors.highlightedTextColor 147 color: Kube.Colors.highlightedTextColor
148 elide: Text.ElideRight
149 clip: true
150 }
151 Rectangle {
152 anchors.verticalCenter: parent.verticalCenter
153 width: Kube.Units.gridUnit
154 height: width
155 radius: width / 2
156 color: model.color
157 opacity: 0.9
146 } 158 }
147 }
148 Rectangle {
149 anchors.right: parent.right
150 anchors.verticalCenter: parent.verticalCenter
151 width: Kube.Units.gridUnit
152 height: width
153 radius: width / 2
154 color: model.color
155 opacity: 0.9
156 } 159 }
157 } 160 }
158 } 161 }