summaryrefslogtreecommitdiff
path: root/Eduport.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Eduport.ui.qml')
-rw-r--r--Eduport.ui.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eduport.ui.qml b/Eduport.ui.qml
index 5bdd9a7..0154bf5 100644
--- a/Eduport.ui.qml
+++ b/Eduport.ui.qml
@@ -2,7 +2,8 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
GridView {
- cellWidth: parent.width / 2
+ cellWidth: width < 576 ? parent.width : width < 768 ? parent.width / 2
+ : width < 992 ? parent.width / 3 : parent.width / 4
cellHeight: cellWidth
ScrollBar.vertical: ScrollBar {}
}