aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpositioners/data
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-04-16 17:03:13 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-20 04:09:37 +0200
commit12e0f28120bdfc96d7588aac690acd526208b28e (patch)
treedb997d5eb3c04e06046c66146699586e96f1105a /tests/auto/quick/qquickpositioners/data
parent64d6fc79d49ec87dcd5c1311fe3e70533ace394f (diff)
Clean up test
Change-Id: I750d059492c74fbdcd8d61ec3268ba10dcf0466b Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickpositioners/data')
-rw-r--r--tests/auto/quick/qquickpositioners/data/transitions.qml18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/auto/quick/qquickpositioners/data/transitions.qml b/tests/auto/quick/qquickpositioners/data/transitions.qml
index 54f5705c68..e7570de70c 100644
--- a/tests/auto/quick/qquickpositioners/data/transitions.qml
+++ b/tests/auto/quick/qquickpositioners/data/transitions.qml
@@ -7,6 +7,8 @@ Rectangle {
property int duration: 50
+ property real incrementalSize: 5
+
property int targetTransitionsDone
property int displaceTransitionsDone
@@ -88,8 +90,8 @@ Rectangle {
Rectangle {
property string nameData: name
objectName: "wrapper"
- width: 30 + index*5
- height: 30 + index*5
+ width: 30 + index*root.incrementalSize
+ height: 30 + index*root.incrementalSize
border.width: 1
Column {
Text { text: index }
@@ -117,8 +119,8 @@ Rectangle {
Rectangle {
property string nameData: name
objectName: "wrapper"
- width: 30 + index*5
- height: 30 + index*5
+ width: 30 + index*root.incrementalSize
+ height: 30 + index*root.incrementalSize
border.width: 1
Column {
Text { text: index }
@@ -146,8 +148,8 @@ Rectangle {
Rectangle {
property string nameData: name
objectName: "wrapper"
- width: 30 + index*5
- height: 30 + index*5
+ width: 30 + index*root.incrementalSize
+ height: 30 + index*root.incrementalSize
border.width: 1
Column {
Text { text: index }
@@ -176,8 +178,8 @@ Rectangle {
Rectangle {
property string nameData: name
objectName: "wrapper"
- width: 30 + index*5
- height: 30 + index*5
+ width: 30 + index*root.incrementalSize
+ height: 30 + index*root.incrementalSize
border.width: 1
Column {
Text { text: index }