Commit 97129ef6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix device icon size on device page

It's the usual case of implicit width overriding regular width.
Also use a pre-set icon size instead of 4gu


(cherry picked from commit 2710de90)
parent fdc622af
...@@ -54,8 +54,8 @@ SimpleKCM { ...@@ -54,8 +54,8 @@ SimpleKCM {
Kirigami.Icon { Kirigami.Icon {
source: device.icon source: device.icon
width: Kirigami.Units.gridUnit * 4 Layout.preferredWidth: Kirigami.Units.iconSizes.enormous
height: width Layout.preferredHeight: Layout.preferredWidth
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
} }
......
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