summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-12-13 21:06:51 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-12-13 21:06:51 +0800
commitb42a4db101382c099b592510bdb99278c08efde4 (patch)
tree0babf124e0f273a6e00475dc870572cd8ab70831
parent46dca623ce9926acce0a546a772a4a3fcaff4211 (diff)
Fix the responsive height
-rw-r--r--DefaultHome.ui.qml10
1 files 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