Commit 74b02cb1 authored by Nate Graham's avatar Nate Graham
Browse files

Make app delegate icon less enormous

Right now it dominates the layout. Let's make it smaller. This improves
and unifies the whitepace around it and therefore makes the icon feel
more prominent despite being smaller.
parent 8b45c204
Pipeline #128120 passed with stage
in 1 minute and 4 seconds
......@@ -38,13 +38,14 @@ Kirigami.AbstractCard
// App icon
Kirigami.Icon {
id: resourceIcon
readonly property real contHeight: delegateArea.compact ? Kirigami.Units.gridUnit * 3 : Kirigami.Units.gridUnit * 5
readonly property real contHeight: delegateArea.compact ? Kirigami.Units.iconSizes.large : Kirigami.Units.iconSizes.huge
source: application.icon
height: contHeight
width: contHeight
anchors {
verticalCenter: parent.verticalCenter
left: parent.left
leftMargin: delegateArea.compact ? Kirigami.Units.largeSpacing : Kirigami.Units.largeSpacing * 2
}
}
......@@ -54,7 +55,7 @@ Kirigami.AbstractCard
verticalCenter: parent.verticalCenter
right: parent.right
left: resourceIcon.right
leftMargin: Kirigami.Units.largeSpacing
leftMargin: Kirigami.Units.largeSpacing * 2
}
spacing: 0
......
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