Commit d6f16209 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Add calendar color circle to calendar drop-down in incidence editor and change...

Add calendar color circle to calendar drop-down in incidence editor and change rectangles in calendar picker page to circle. Fixes #133
parent e0bf0a25
Pipeline #116449 passed with stage
in 6 minutes and 5 seconds
......@@ -71,8 +71,9 @@ Kirigami.ScrollablePage {
onClicked: collectionPickerSheet.collectionPicked(collectionId);
trailing: Rectangle {
anchors.margins: Kirigami.Units.smallSpacing
color: model.collectionColor
radius: Kirigami.Units.smallSpacing
radius: width * 0.5
width: height
height: Kirigami.Units.iconSizes.small
}
......
......@@ -168,6 +168,12 @@ Kirigami.ScrollablePage {
Kirigami.BasicListItem {
label: display
icon: decoration
trailing: Rectangle {
anchors.margins: Kirigami.Units.smallSpacing
width: height
radius: width * 0.5
color: collectionColor
}
onClicked: root.incidenceWrapper.collectionId = collectionId
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment