From d70d0d4feadeb113d7ef380581c2d031c24185ed 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: Fri, 3 Mar 2023 09:31:56 +0800 Subject: Setting the content grid height is not necessary Setting the stack layout height is enough --- HomeDefault.ui.qml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index be11a37..25c8457 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -363,16 +363,6 @@ Flickable { : width < 992 ? width / 3 : width / 4 cellHeight: cellWidth * 1.3 - height: width < 576 - ? cellHeight * count - : width < 768 - ? cellHeight - * (count + count % 2) / 2 - : width < 992 - ? cellHeight - * (count + (count + 1) % 3) / 3 - : cellHeight - * (count + (count + 2) % 4) / 4 model: content delegate: CardGrid { width: tabPane.cellWidth -- cgit v1.2.3