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

[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 {
Kirigami.Icon {
Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: delegateColumn.height * 0.75
Layout.preferredWidth: Layout.preferredHeight
implicitHeight: Kirigami.Units.iconSizes.large
implicitWidth: implicitHeight
source: IconName || "unknown"
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