From 7c8bd6570ad88fff25bf0467e1c54b1e577171cc 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 18:45:44 +0800 Subject: Fix (not perfect yet) tabs height --- HomeDefault.ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HomeDefault.ui.qml') diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 9b1276d..4c6bb47 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -262,7 +262,7 @@ Flickable { } cellWidth: 142 cellHeight: 46 - implicitHeight: width < 284 ? cellHeight * 5 : width < 426 ? cellHeight * 3 : width < 710 ? cellHeight * 2 : cellHeight + implicitHeight: Math.min(Math.ceil(cellWidth * count / width) * cellHeight, count * cellHeight) model: ["Web Design", "Development", "Graphic Design", "Marketing", "Finance"] delegate: TabItem {} } -- cgit v1.2.3