From 6fe0294e692c4626336731276dc28926a1302b32 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Mon, 26 Sep 2022 21:55:49 +0800 Subject: Rename Home We'll start from https://eduport.webestica.com/course-grid-2.html which we shall call Minimal Grid. --- Home.ui.qml | 9 --------- MinimalGrid.ui.qml | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 Home.ui.qml create mode 100644 MinimalGrid.ui.qml diff --git a/Home.ui.qml b/Home.ui.qml deleted file mode 100644 index 5956957..0000000 --- a/Home.ui.qml +++ /dev/null @@ -1,9 +0,0 @@ -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 {} -} 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 {} +} -- cgit v1.3