From 2bb09ae917cb3d6823491a8c362375cd3f9c63d4 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 29 Aug 2019 11:50:49 +0200 Subject: [PATCH] fix size of png icons --- .../homescreen2/package/contents/ui/launcher/Delegate.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/containments/homescreen2/package/contents/ui/launcher/Delegate.qml b/containments/homescreen2/package/contents/ui/launcher/Delegate.qml index 4e7d41f9..93a3b82d 100644 --- a/containments/homescreen2/package/contents/ui/launcher/Delegate.qml +++ b/containments/homescreen2/package/contents/ui/launcher/Delegate.qml @@ -111,6 +111,7 @@ ContainmentLayoutManager.ItemContainer { Layout.alignment: Qt.AlignHCenter | Qt.AlignTop Layout.fillWidth: true Layout.minimumHeight: parent.height - root.reservedSpaceForLabel + Layout.preferredHeight: Layout.minimumHeight source: modelData ? modelData.ApplicationIconRole : "" scale: root.reorderingApps && dragDelegate && !dragging ? 0.6 : 1 @@ -127,7 +128,7 @@ ContainmentLayoutManager.ItemContainer { visible: text.length > 0 Layout.fillWidth: true - Layout.fillHeight: true + Layout.preferredHeight: root.reservedSpaceForLabel wrapMode: Text.WordWrap horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignTop