summaryrefslogtreecommitdiffstats
path: root/examples/declarative/xmldata
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-18 00:22:01 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-18 00:22:01 (GMT)
commitc9f4ad424949085209acda6cff07babbe8d29001 (patch)
treec146ff6b0c26cefd908411bb61fa76c2fb04ec00 /examples/declarative/xmldata
parentd272b9197c9cc40ac50a1cfa2703c648c962f0f2 (diff)
downloadQt-c9f4ad424949085209acda6cff07babbe8d29001.zip
Qt-c9f4ad424949085209acda6cff07babbe8d29001.tar.gz
Qt-c9f4ad424949085209acda6cff07babbe8d29001.tar.bz2
Change Item.contents to Item.childrenRect.
Diffstat (limited to 'examples/declarative/xmldata')
-rw-r--r--examples/declarative/xmldata/daringfireball.qml2
-rw-r--r--examples/declarative/xmldata/yahoonews.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/xmldata/daringfireball.qml b/examples/declarative/xmldata/daringfireball.qml
index 4fb12af..a93483e 100644
--- a/examples/declarative/xmldata/daringfireball.qml
+++ b/examples/declarative/xmldata/daringfireball.qml
@@ -26,7 +26,7 @@ Rect {
Component {
id: feedDelegate
Item {
- height: contents.height + 20
+ height: childrenRect.height + 20
Text {
x: 10
id: TitleText
diff --git a/examples/declarative/xmldata/yahoonews.qml b/examples/declarative/xmldata/yahoonews.qml
index 156eb31..22586b8 100644
--- a/examples/declarative/xmldata/yahoonews.qml
+++ b/examples/declarative/xmldata/yahoonews.qml
@@ -66,7 +66,7 @@ Rect {
states: [
State {
name: "Details"
- SetProperties { target: Wrapper; height: contents.height + 10 }
+ SetProperties { target: Wrapper; height: childrenRect.height + 10 }
SetProperties { target: Description; opacity: 1 }
}
]