summaryrefslogtreecommitdiffstats
path: root/demos/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-06-29 02:51:08 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-06-29 02:51:49 (GMT)
commitb1b46d4e5bd9e4ef355d8bbc13900d7489fb4bf9 (patch)
treed794a59fed018a8a0c75d0b9c484c6d61257d826 /demos/declarative
parent53d449fd966ba486b37dde1fce7068eb068b6a93 (diff)
downloadQt-b1b46d4e5bd9e4ef355d8bbc13900d7489fb4bf9.zip
Qt-b1b46d4e5bd9e4ef355d8bbc13900d7489fb4bf9.tar.gz
Qt-b1b46d4e5bd9e4ef355d8bbc13900d7489fb4bf9.tar.bz2
Avoid binding loop.
Diffstat (limited to 'demos/declarative')
-rw-r--r--demos/declarative/rssnews/content/NewsDelegate.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/declarative/rssnews/content/NewsDelegate.qml b/demos/declarative/rssnews/content/NewsDelegate.qml
index 040dadc..cfe9b00 100644
--- a/demos/declarative/rssnews/content/NewsDelegate.qml
+++ b/demos/declarative/rssnews/content/NewsDelegate.qml
@@ -43,10 +43,11 @@ import Qt 4.7
Item {
id: delegate
- height: childrenRect.height + 20
+ height: column.height + 40
width: delegate.ListView.view.width
Column {
+ id: column
x: 20; y: 20
width: parent.width - 40