summaryrefslogtreecommitdiff
path: root/HomeDefault.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-02 21:29:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-02 21:29:41 +0800
commit5510aea87db81510a8ff44683fb684f81198e7a9 (patch)
tree60b9dd13bf4d8ea657d59ba512f9b4ba0dfdd8cf /HomeDefault.ui.qml
parent85ce9d7905890adb3ff7e504bcae997269bf9fa6 (diff)
The item count of the current tab
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r--HomeDefault.ui.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 489c204..917102c 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -252,7 +252,7 @@ Flickable {
GridView {
id: tabs
- property int currentCount: 8
+ property int currentItemCount: 8
interactive: false
anchors {
left: parent.left
@@ -293,13 +293,13 @@ Flickable {
StackLayout {
currentIndex: tabs.currentIndex
Layout.preferredHeight: width < 576 ? width * 1.3
- * tabs.currentCount
+ * tabs.currentItemCount
: width < 768 ? width / 2 * 1.3
- * (tabs.currentCount + tabs.currentCount % 2) / 2
+ * (tabs.currentItemCount + tabs.currentItemCount % 2) / 2
: width < 992 ? width / 3 * 1.3
- * (tabs.currentCount + (tabs.currentCount + 1) % 3) / 3
+ * (tabs.currentItemCount + (tabs.currentItemCount + 1) % 3) / 3
: width / 4 * 1.3
- * (tabs.currentCount + (tabs.currentCount + 2) % 4) / 4
+ * (tabs.currentItemCount + (tabs.currentItemCount + 2) % 4) / 4
Repeater {
id: tabsContent