Commit 6c2418c7 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcm] Make StreamListItem icon sizes consistent

The current code deternines the icon size based on the delegate height
which leads to different iconsizes for the notifications stream and
other streams.

Instead pick one of the standard icon sizes for both
parent 29eba39c
...@@ -41,8 +41,8 @@ ColumnLayout { ...@@ -41,8 +41,8 @@ ColumnLayout {
Kirigami.Icon { Kirigami.Icon {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: delegateColumn.height * 0.75 implicitHeight: Kirigami.Units.iconSizes.large
Layout.preferredWidth: Layout.preferredHeight implicitWidth: implicitHeight
source: IconName || "unknown" source: IconName || "unknown"
} }
......
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