summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 19:34:00 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 19:34:00 +0800
commitedae370ccf3dfe60d66de7f820044055ed53a886 (patch)
tree89191fff5f3f7856b2bf1274bf3228445c094d2a
parenteba4fee583ee5ae989e5155d3f40eaf8f8b38e98 (diff)
Generalise popular courses cell height
-rw-r--r--HomeDefault.ui.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 5bf30e1..a126c10 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -365,7 +365,8 @@ Flickable {
: width < 768 ? width / 2
: width < 992 ? width / 3
: width / 4
- cellHeight: cellWidth * 1.6
+ cellHeight: cellWidth
+ * 400 / 533 + 273.35
model: content
delegate: CardGrid {
width: tabPane.cellWidth