diff options
-rw-r--r-- | tests/auto/controls/data/tst_swipedelegate.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/controls/data/tst_swipedelegate.qml b/tests/auto/controls/data/tst_swipedelegate.qml index bcf25f28..fa2d218f 100644 --- a/tests/auto/controls/data/tst_swipedelegate.qml +++ b/tests/auto/controls/data/tst_swipedelegate.qml @@ -40,9 +40,9 @@ import QtQuick 2.6 import QtTest 1.0 -import QtQuick.Layouts 1.1 import QtQuick.Controls 2.1 + TestCase { id: testCase width: 200 @@ -1094,22 +1094,22 @@ TestCase { property int firstClickCount: 0 property int secondClickCount: 0 - RowLayout { + Row { anchors.fill: parent anchors.margins: 5 Rectangle { id: firstAction - Layout.fillWidth: true - Layout.fillHeight: true + width: parent.width / 2 + height: parent.height color: "tomato" SwipeDelegate.onClicked: ++firstClickCount } Rectangle { id: secondAction - Layout.fillWidth: true - Layout.fillHeight: true + width: parent.width / 2 + height: parent.height color: "navajowhite" SwipeDelegate.onClicked: ++secondClickCount |