diff --git a/applets/systemtray/container/package/contents/ui/main.qml b/applets/systemtray/container/package/contents/ui/main.qml --- a/applets/systemtray/container/package/contents/ui/main.qml +++ b/applets/systemtray/container/package/contents/ui/main.qml @@ -27,6 +27,7 @@ Layout.minimumWidth: internalSystray ? internalSystray.Layout.minimumWidth : 0 Layout.minimumHeight: internalSystray ? internalSystray.Layout.minimumHeight : 0 + Layout.preferredHeight: Layout.minimumHeight Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation property Item internalSystray diff --git a/applets/systemtray/package/contents/ui/main.qml b/applets/systemtray/package/contents/ui/main.qml --- a/applets/systemtray/package/contents/ui/main.qml +++ b/applets/systemtray/package/contents/ui/main.qml @@ -30,6 +30,8 @@ Layout.minimumHeight: vertical ? tasksRow.implicitHeight + (expander.visible ? expander.implicitHeight : 0) + units.smallSpacing : units.smallSpacing + Layout.preferredHeight: Layout.minimumHeight + property var iconSizes: ["small", "smallMedium", "medium", "large", "huge", "enormous"]; property bool vertical: plasmoid.formFactor == PlasmaCore.Types.Vertical