diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-11-15 15:49:42 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-11-15 15:49:42 +0800 |
commit | 125ccf21f308a532b5fc4f4e7b2f9124efd84638 (patch) | |
tree | 175f24d6595f1b316b7b4cda66225f6d2917a94f | |
parent | 41c89d26f4f56e1d1bdbfab53ba209f80887d60e (diff) |
Disable each grid scroll
-rw-r--r-- | DefaultHome.ui.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DefaultHome.ui.qml b/DefaultHome.ui.qml index 59d9735..aa25e70 100644 --- a/DefaultHome.ui.qml +++ b/DefaultHome.ui.qml @@ -6,6 +6,8 @@ Item { GridView { id: counter + interactive: false + model: ListModel { ListElement { count: "10K" @@ -71,9 +73,12 @@ Item { GridView { id: popularCourseTabsContent + interactive: false + cellWidth: width < 576 ? width : width < 768 ? width / 2 : width < 992 ? width / 3 : width / 4 cellHeight: cellWidth * 1.3 + anchors { left: parent.left right: parent.right |