diff --git a/applets/kicker/package/contents/ui/CompactRepresentation.qml b/applets/kicker/package/contents/ui/CompactRepresentation.qml --- a/applets/kicker/package/contents/ui/CompactRepresentation.qml +++ b/applets/kicker/package/contents/ui/CompactRepresentation.qml @@ -46,19 +46,19 @@ root.Layout.minimumHeight = scaledHeight; root.Layout.maximumHeight = scaledHeight; root.Layout.minimumWidth = units.iconSizes.small; - root.Layout.maximumWidth = undefined; + root.Layout.maximumWidth = units.iconSizeHints.panel; } else { var scaledWidth = Math.floor(parent.height * (buttonIcon.implicitWidth / buttonIcon.implicitHeight)); root.Layout.minimumWidth = scaledWidth; root.Layout.maximumWidth = scaledWidth; root.Layout.minimumHeight = units.iconSizes.small; - root.Layout.maximumHeight = undefined; + root.Layout.maximumHeight = units.iconSizeHints.panel; } } else { root.Layout.minimumWidth = units.iconSizes.small; - root.Layout.maximumWidth = undefined; + root.Layout.maximumWidth = units.iconSizeHints.panel; root.Layout.minimumHeight = units.iconSizes.small - root.Layout.maximumHeight = undefined; + root.Layout.maximumHeight = units.iconSizeHints.panel; } }