summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-22 19:29:29 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-22 19:29:29 +0800
commitf85053146108267bb9c0720ae872e99f3dd5773b (patch)
tree24546e0c9679dca7bb5f75b77fa64a80f45d0ce6
parent41f9c40de05a3f6fb4a1e4bc50952d5172651775 (diff)
StackLayout replaces SwipeView on popular tabs
-rw-r--r--HomeDefault.ui.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 9a25826..4aa79cb 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -284,21 +284,20 @@ Flickable {
}
}
- SwipeView {
+ StackLayout {
id: tabsContent
currentIndex: tabs.currentIndex
- Layout.fillWidth: true
Layout.preferredHeight: popular.height
GridView {
id: popular
interactive: false
+ Layout.fillWidth: true
cellWidth: width < 576 ? width
: width < 768 ? width / 2
: width < 992 ? width / 3
: width / 4
cellHeight: cellWidth * 1.3
- width: parent.width
height: width < 576
? cellHeight * count
: width < 768