From d67c2cf637d4c1a27049be611590a0402454ba60 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Fri, 30 Sep 2022 08:20:49 +0800 Subject: Rename for consistency --- GridMinimalView.ui.qml | 9 --------- MinimalGridView.ui.qml | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 GridMinimalView.ui.qml create mode 100644 MinimalGridView.ui.qml diff --git a/GridMinimalView.ui.qml b/GridMinimalView.ui.qml deleted file mode 100644 index 5956957..0000000 --- a/GridMinimalView.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/MinimalGridView.ui.qml b/MinimalGridView.ui.qml new file mode 100644 index 0000000..5956957 --- /dev/null +++ b/MinimalGridView.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