summaryrefslogtreecommitdiff
path: root/MinimalGrid.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-26 21:55:49 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-26 21:55:49 +0800
commit6fe0294e692c4626336731276dc28926a1302b32 (patch)
tree8a9a0a2fb4db46d96cbbe2d5d875322bd1a2383c /MinimalGrid.ui.qml
parent4f156d3f249eed55c8f6d2906fce2ac0c7eef18f (diff)
Rename Home
We'll start from https://eduport.webestica.com/course-grid-2.html which we shall call Minimal Grid.
Diffstat (limited to 'MinimalGrid.ui.qml')
-rw-r--r--MinimalGrid.ui.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/MinimalGrid.ui.qml b/MinimalGrid.ui.qml
new file mode 100644
index 0000000..5956957
--- /dev/null
+++ b/MinimalGrid.ui.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+
+GridView {
+ cellWidth: width < 576 ? parent.width : width < 768 ? parent.width / 2
+ : width < 992 ? parent.width / 3 : parent.width / 4
+ cellHeight: cellWidth * 1.3
+ ScrollBar.vertical: ScrollBar {}
+}