summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-11-16 16:44:18 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-11-16 16:44:18 +0800
commit46dca623ce9926acce0a546a772a4a3fcaff4211 (patch)
tree461c914a3004c92b81e9441bab338e348c23f0f3
parent24cddc9cee54e056dad30484caa357b639cf04fe (diff)
Using Flickable works
-rw-r--r--DefaultHome.ui.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/DefaultHome.ui.qml b/DefaultHome.ui.qml
index 36689bf..607f6f4 100644
--- a/DefaultHome.ui.qml
+++ b/DefaultHome.ui.qml
@@ -2,9 +2,8 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
-ScrollView {
+Flickable {
property alias popularCourseTabsContent: popularCourseTabsContent
- contentWidth: counter.width
contentHeight: counter.height + popularCourseTabsContent.height
GridView {
@@ -128,9 +127,9 @@ ScrollView {
height: width < 576 ? cellHeight : width < 768 ? cellHeight * 2
: width < 992 ? cellHeight * 3 : cellHeight * 4
anchors {
+ top: counter.bottom
left: parent.left
right: parent.right
- bottom: parent.bottom
}
}
}