summaryrefslogtreecommitdiff
path: root/HomeDefault.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r--HomeDefault.ui.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 534ba4c..12abefa 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 - cellWidth)) * cellHeight, count * cellHeight)
+ implicitHeight: Math.ceil(count /Math.floor(count / (cellWidth * count / width))) * cellHeight
model: ["Web Design", "Development", "Graphic Design", "Marketing", "Finance"]
delegate: TabItem {}
}