diff options
-rw-r--r-- | src/imports/controls/fusion/Tumbler.qml | 10 | ||||
-rw-r--r-- | src/imports/controls/imagine/Tumbler.qml | 9 | ||||
-rw-r--r-- | tests/auto/sanity/BLACKLIST | 4 |
3 files changed, 8 insertions, 15 deletions
diff --git a/src/imports/controls/fusion/Tumbler.qml b/src/imports/controls/fusion/Tumbler.qml index 6f06e8f5..d53b6845 100644 --- a/src/imports/controls/fusion/Tumbler.qml +++ b/src/imports/controls/fusion/Tumbler.qml @@ -47,7 +47,6 @@ T.Tumbler { implicitHeight: 200 delegate: Text { - id: label text: modelData color: control.palette.windowText font: control.font @@ -57,15 +56,14 @@ T.Tumbler { } contentItem: TumblerView { - id: tumblerView model: control.model delegate: control.delegate path: Path { - startX: tumblerView.width / 2 - startY: -tumblerView.delegateHeight / 2 + startX: contentItem.width / 2 + startY: -contentItem.delegateHeight / 2 PathLine { - x: tumblerView.width / 2 - y: (control.visibleItemCount + 1) * tumblerView.delegateHeight - tumblerView.delegateHeight / 2 + x: contentItem.width / 2 + y: (control.visibleItemCount + 1) * contentItem.delegateHeight - contentItem.delegateHeight / 2 } } diff --git a/src/imports/controls/imagine/Tumbler.qml b/src/imports/controls/imagine/Tumbler.qml index 5e1c913c..17f6c562 100644 --- a/src/imports/controls/imagine/Tumbler.qml +++ b/src/imports/controls/imagine/Tumbler.qml @@ -56,15 +56,14 @@ T.Tumbler { } contentItem: TumblerView { - id: tumblerView model: control.model delegate: control.delegate path: Path { - startX: tumblerView.width / 2 - startY: -tumblerView.delegateHeight / 2 + startX: contentItem.width / 2 + startY: -contentItem.delegateHeight / 2 PathLine { - x: tumblerView.width / 2 - y: (control.visibleItemCount + 1) * tumblerView.delegateHeight - tumblerView.delegateHeight / 2 + x: contentItem.width / 2 + y: (control.visibleItemCount + 1) * contentItem.delegateHeight - contentItem.delegateHeight / 2 } } diff --git a/tests/auto/sanity/BLACKLIST b/tests/auto/sanity/BLACKLIST index 841819f7..8066f40b 100644 --- a/tests/auto/sanity/BLACKLIST +++ b/tests/auto/sanity/BLACKLIST @@ -4,8 +4,6 @@ * [ids:fusion/ComboBox.qml] * -[ids:fusion/Tumbler.qml] -* [ids:imagine/BusyIndicator.qml] * [ids:imagine/DelayButton.qml] @@ -22,5 +20,3 @@ * [ids:imagine/SwitchDelegate.qml] * -[ids:imagine/Tumbler.qml] -* |