From 29d39bf4e8e8312b2e1ae0c4a4588399b5918d9b 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: Sun, 5 Mar 2023 19:18:10 +0800 Subject: Better than previous commit --- HomeDefault.ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 4c6bb47..534ba4c 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -262,7 +262,7 @@ Flickable { } cellWidth: 142 cellHeight: 46 - implicitHeight: Math.min(Math.ceil(cellWidth * count / width) * cellHeight, count * cellHeight) + implicitHeight: Math.min(Math.ceil(cellWidth * count / (width - cellWidth)) * cellHeight, count * cellHeight) model: ["Web Design", "Development", "Graphic Design", "Marketing", "Finance"] delegate: TabItem {} } -- cgit v1.2.3