From 4a97498f4c20936ac61f364b74d7476097a7e8bf Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 11 Jan 2017 11:10:52 +0100 Subject: Add SwipeView::orientation [ChangeLog][Controls][SwipeView] Added orientation property. Task-number: QTBUG-56031 Change-Id: I4ed47d659ef83cb48f63b703b681bdf1b8662fe8 Reviewed-by: Mitch Curtis --- src/imports/controls/SwipeView.qml | 2 +- src/imports/controls/material/SwipeView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imports/controls') diff --git a/src/imports/controls/SwipeView.qml b/src/imports/controls/SwipeView.qml index df569721..4ccef22b 100644 --- a/src/imports/controls/SwipeView.qml +++ b/src/imports/controls/SwipeView.qml @@ -52,7 +52,7 @@ T.SwipeView { currentIndex: control.currentIndex spacing: control.spacing - orientation: Qt.Horizontal + orientation: control.orientation snapMode: ListView.SnapOneItem boundsBehavior: Flickable.StopAtBounds diff --git a/src/imports/controls/material/SwipeView.qml b/src/imports/controls/material/SwipeView.qml index 77a7b9f6..293cce46 100644 --- a/src/imports/controls/material/SwipeView.qml +++ b/src/imports/controls/material/SwipeView.qml @@ -51,7 +51,7 @@ T.SwipeView { currentIndex: control.currentIndex spacing: control.spacing - orientation: Qt.Horizontal + orientation: control.orientation snapMode: ListView.SnapOneItem boundsBehavior: Flickable.StopAtBounds -- cgit v1.2.3