diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-06 15:24:00 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-06 15:24:00 +0800 |
commit | 17b133a34e03b21d4f44eca024d36e8815cd15e4 (patch) | |
tree | 6db1d2bcf90b4fc4f417c79fd764bfa051ff1def /HomeDefault.ui.qml | |
parent | 1a40a67cda15081ba74a3d6b13b4001d15d8ec04 (diff) |
Increase tabs content height
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r-- | HomeDefault.ui.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 12abefa..4dd455d 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -271,12 +271,12 @@ Flickable { StackLayout { currentIndex: tabs.currentIndex Layout.preferredHeight: width < 576 - ? width * 1.3 * tabsContent.currentCount + ? width * 1.6 * tabsContent.currentCount : width < 768 - ? width / 2 * 1.3 * (tabsContent.currentCount + tabsContent.currentCount % 2) / 2 + ? width / 2 * 1.6 * (tabsContent.currentCount + tabsContent.currentCount % 2) / 2 : width < 992 - ? width / 3 * 1.3 * (tabsContent.currentCount + (tabsContent.currentCount + 1) % 3) / 3 - : width / 4 * 1.3 * (tabsContent.currentCount + (tabsContent.currentCount + 2) % 4) / 4 + ? width / 3 * 1.6 * (tabsContent.currentCount + (tabsContent.currentCount + 1) % 3) / 3 + : width / 4 * 1.6 * (tabsContent.currentCount + (tabsContent.currentCount + 2) % 4) / 4 Repeater { id: tabsContent @@ -359,7 +359,7 @@ Flickable { : width < 768 ? width / 2 : width < 992 ? width / 3 : width / 4 - cellHeight: cellWidth * 1.3 + cellHeight: cellWidth * 1.6 model: content delegate: CardGrid { width: tabPane.cellWidth |