diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-18 00:22:01 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-18 00:22:01 (GMT) |
commit | c9f4ad424949085209acda6cff07babbe8d29001 (patch) | |
tree | c146ff6b0c26cefd908411bb61fa76c2fb04ec00 /examples/declarative/tutorials | |
parent | d272b9197c9cc40ac50a1cfa2703c648c962f0f2 (diff) | |
download | Qt-c9f4ad424949085209acda6cff07babbe8d29001.zip Qt-c9f4ad424949085209acda6cff07babbe8d29001.tar.gz Qt-c9f4ad424949085209acda6cff07babbe8d29001.tar.bz2 |
Change Item.contents to Item.childrenRect.
Diffstat (limited to 'examples/declarative/tutorials')
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml index a70ef16..1087d6a 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml @@ -7,7 +7,7 @@ Rect { color: "white" VerticalPositioner { id: layout - width: contents.width + width: childrenRect.width GroupBox { contents: "1/RemoveButton.qml" label: "Rectangle Component" diff --git a/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml b/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml index 7ac513e..70b8b95 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml @@ -9,7 +9,7 @@ Rect { id: layout columns: 2 rows: 4 - width: contents.width + width: childrenRect.width GroupBox { contents: "1/ContactField.qml" label: "Loading: simple" diff --git a/examples/declarative/tutorials/contacts/3_Collections/3_Collections.qml b/examples/declarative/tutorials/contacts/3_Collections/3_Collections.qml index d61705c..5a22b1c 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/3_Collections.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/3_Collections.qml @@ -13,8 +13,8 @@ Rect { // component removes focus from any previous element GridPositioner { id: layout - width: contents.width - height: contents.height + width: childrenRect.width + height: childrenRect.height GroupBox { contents: "1/ContactView.qml" label: "list only" |