summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-01 07:49:51 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-01 07:49:51 (GMT)
commit95e0fa369685ab86a433ff604b25e34f6aa62d2d (patch)
tree24e97d4df4559f1e4209ffaf16511e1d61e6f39d /tests/auto
parent0fecc46bf71ad5ff0a165a3af44fe97daa8ac384 (diff)
downloadQt-95e0fa369685ab86a433ff604b25e34f6aa62d2d.zip
Qt-95e0fa369685ab86a433ff604b25e34f6aa62d2d.tar.gz
Qt-95e0fa369685ab86a433ff604b25e34f6aa62d2d.tar.bz2
Remove strange binding loop in Repeater test.
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativerepeater/data/itemlist.qml8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/declarative/qdeclarativerepeater/data/itemlist.qml b/tests/auto/declarative/qdeclarativerepeater/data/itemlist.qml
index fc6b34c..d74b2dc 100644
--- a/tests/auto/declarative/qdeclarativerepeater/data/itemlist.qml
+++ b/tests/auto/declarative/qdeclarativerepeater/data/itemlist.qml
@@ -21,17 +21,17 @@ Rectangle {
objectName: "itemModel"
Rectangle {
objectName: "item1"
- height: view.height; width: view.width; color: "#FFFEF0"
+ height: 50; width: 100; color: "#FFFEF0"
Text { objectName: "text1"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
}
Rectangle {
objectName: "item2"
- height: view.height; width: view.width; color: "#F0FFF7"
+ height: 50; width: 100; color: "#F0FFF7"
Text { objectName: "text2"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
}
Rectangle {
objectName: "item3"
- height: view.height; width: view.width; color: "#F4F0FF"
+ height: 50; width: 100; color: "#F4F0FF"
Text { objectName: "text3"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
}
}
@@ -41,8 +41,6 @@ Rectangle {
Repeater {
id: view
objectName: "repeater"
- anchors.fill: parent
- anchors.bottomMargin: 30
model: testObject.useModel ? itemModel : 0
}
}