summaryrefslogtreecommitdiff
path: root/GridMinimalView.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'GridMinimalView.ui.qml')
-rw-r--r--GridMinimalView.ui.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/GridMinimalView.ui.qml b/GridMinimalView.ui.qml
new file mode 100644
index 0000000..5956957
--- /dev/null
+++ b/GridMinimalView.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 {}
+}