diff --git a/applets/minimizeall/package/contents/ui/main.qml b/applets/minimizeall/package/contents/ui/main.qml --- a/applets/minimizeall/package/contents/ui/main.qml +++ b/applets/minimizeall/package/contents/ui/main.qml @@ -34,11 +34,11 @@ || plasmoid.location === PlasmaCore.Types.BottomEdge || plasmoid.location === PlasmaCore.Types.LeftEdge) - Layout.minimumWidth: units.gridUnit - Layout.minimumHeight: units.gridUnit + Layout.minimumWidth: units.iconSizes.small + Layout.minimumHeight: Layout.minimumWidth Layout.maximumWidth: inPanel ? units.iconSizeHints.panel : -1 - Layout.maximumHeight: inPanel ? units.iconSizeHints.panel : -1 + Layout.maximumHeight: Layout.maximumWidth Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation diff --git a/applets/showdesktop/package/contents/ui/main.qml b/applets/showdesktop/package/contents/ui/main.qml --- a/applets/showdesktop/package/contents/ui/main.qml +++ b/applets/showdesktop/package/contents/ui/main.qml @@ -56,8 +56,8 @@ Layout.minimumWidth: units.iconSizes.small Layout.minimumHeight: Layout.minimumWidth - Layout.maximumWidth: inPanel ? units.iconSizeHints.panel : -1 - Layout.maximumHeight: inPanel ? units.iconSizeHints.panel : -1 + Layout.maximumWidth: inPanel ? units.iconSizes.smallMedium : -1 + Layout.maximumHeight: Layout.maximumWidth icon: plasmoid.icon mainText: plasmoid.title