diff options
Diffstat (limited to 'DefaultHome.ui.qml')
-rw-r--r-- | DefaultHome.ui.qml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/DefaultHome.ui.qml b/DefaultHome.ui.qml index 7ed3d4d..d83e5a5 100644 --- a/DefaultHome.ui.qml +++ b/DefaultHome.ui.qml @@ -55,13 +55,16 @@ Flickable { id: popularCourseTabsContent interactive: false - cellWidth: width < 576 ? width : width < 768 ? width / 2 - : width < 992 ? width / 3 : width / 4 + cellWidth: width < 576 ? width + : width < 768 ? width / 2 + : width < 992 ? width / 3 + : width / 4 cellHeight: cellWidth * 1.3 - height: width < 576 ? cellHeight * 4 - : width < 768 ? cellHeight * 3 - : width < 992 ? cellHeight * 2 : cellHeight + height: width < 576 ? cellHeight * count + : width < 768 ? cellHeight * count / 2 + : width < 992 ? cellHeight * count / 3 + : cellHeight * count / 4 anchors { top: counter.bottom left: parent.left |