From a5d1f4d8807f13d421082e7aae773822fe800436 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 21 Jul 2020 12:35:50 +0200 Subject: [PATCH] at least 4 favorites --- containments/homescreen/package/contents/ui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containments/homescreen/package/contents/ui/main.qml b/containments/homescreen/package/contents/ui/main.qml index a8fe108c..d52b98cf 100644 --- a/containments/homescreen/package/contents/ui/main.qml +++ b/containments/homescreen/package/contents/ui/main.qml @@ -66,7 +66,7 @@ Item { return; } - plasmoid.nativeInterface.applicationListModel.maxFavoriteCount = Math.floor(Math.min(width, height) / launcher.cellWidth); + plasmoid.nativeInterface.applicationListModel.maxFavoriteCount = Math.max(4, Math.floor(Math.min(width, height) / launcher.cellWidth)); } //END functions