summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-05 19:18:10 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-05 19:18:10 +0800
commit29d39bf4e8e8312b2e1ae0c4a4588399b5918d9b (patch)
tree1576abd7ea8009db82ea26c123fe9169a15e0111
parent7c8bd6570ad88fff25bf0467e1c54b1e577171cc (diff)
Better than previous commit
-rw-r--r--HomeDefault.ui.qml2
1 files changed, 1 insertions, 1 deletions
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 {}
}