From b42a4db101382c099b592510bdb99278c08efde4 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Tue, 13 Dec 2022 21:06:51 +0800 Subject: Fix the responsive height --- DefaultHome.ui.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/DefaultHome.ui.qml b/DefaultHome.ui.qml index 607f6f4..1ae4751 100644 --- a/DefaultHome.ui.qml +++ b/DefaultHome.ui.qml @@ -107,8 +107,9 @@ Flickable { : width < 992 ? width / 3 : width / 4 cellHeight: 125.6 - height: width < 576 ? cellHeight : width < 768 ? cellHeight * 2 - : width < 992 ? cellHeight * 3 : cellHeight * 4 + height: width < 576 ? cellHeight * 4 + : width < 768 ? cellHeight * 3 + : width < 992 ? cellHeight * 2 : cellHeight anchors { top: parent.top left: parent.left @@ -124,8 +125,9 @@ Flickable { : width < 992 ? width / 3 : width / 4 cellHeight: cellWidth * 1.3 - height: width < 576 ? cellHeight : width < 768 ? cellHeight * 2 - : width < 992 ? cellHeight * 3 : cellHeight * 4 + height: width < 576 ? cellHeight * 4 + : width < 768 ? cellHeight * 3 + : width < 992 ? cellHeight * 2 : cellHeight anchors { top: counter.bottom left: parent.left -- cgit v1.3