aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/extras
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/extras')
-rw-r--r--src/imports/extras/SwipeView.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/imports/extras/SwipeView.qml b/src/imports/extras/SwipeView.qml
index 85e31874..6e88bcfc 100644
--- a/src/imports/extras/SwipeView.qml
+++ b/src/imports/extras/SwipeView.qml
@@ -42,11 +42,10 @@ AbstractSwipeView {
property alias spacing: listView.spacing
- contentWidth: listView.implicitWidth
- contentHeight: listView.contentHeight
-
- implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight + topPadding + bottomPadding)
+ implicitWidth: Math.max(background ? background.implicitWidth : 0,
+ contentItem.implicitWidth + leftPadding + rightPadding)
+ implicitHeight: Math.max(background ? background.implicitHeight : 0,
+ contentItem.implicitHeight + topPadding + bottomPadding)
Accessible.role: Accessible.PageTabList