launcher: fix height when one item

This commit is contained in:
2 * r + 2 * t 2025-06-20 22:43:39 +10:00
parent b80b531e88
commit 160673ee65

View file

@ -32,7 +32,7 @@ Item {
PropertyChanges {
root.currentList: appList.item
root.implicitWidth: Config.launcher.sizes.itemWidth
root.implicitHeight: Math.max(empty.implicitHeight, appList.implicitHeight)
root.implicitHeight: appList.implicitHeight > 0 ? appList.implicitHeight : empty.implicitHeight
appList.active: true
}