Commit a8c73c61 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Use pixel perfect size for icons



This makes the icons less blurry

BUG: 462175

Signed-off-by: Carl Schwan's avatarCarl Schwan <carl@carlschwan.eu>
(cherry picked from commit e05bb2cf)
parent e8a18a0d
......@@ -381,6 +381,11 @@ QQC2.ScrollView {
Layout.fillHeight: true
source: modelData.incidenceTypeIcon
isMask: true
Layout.preferredHeight: Kirigami.Units.iconSizes.medium
Layout.preferredWidth: Kirigami.Units.iconSizes.medium
Layout.maximumWidth: Kirigami.Units.iconSizes.medium
Layout.maximumHeight: Kirigami.Units.iconSizes.medium
color: incidenceCard.isOpenOccurrence ?
(LabelUtils.isDarkColor(modelData.color) ? "white" : "black") :
cardContents.textColor
......
Supports Markdown
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