From 152f06a7d11800e79e7b8a6fce8586c4f5ee0c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 25 Feb 2023 21:17:53 +0800 Subject: Counter implicitHeight is used instead Layout.preferredHeight because it can be overridden in the library user app. --- HomeDefault.ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 6963803..c3e8d2f 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -131,7 +131,7 @@ Flickable { : width / 4 cellHeight: 125.6 Layout.fillWidth: true - Layout.preferredHeight: width < 576 + implicitHeight: width < 576 ? cellHeight * count : width < 1200 ? cellHeight * count / 2 : cellHeight -- cgit v1.2.3