diff options
Diffstat (limited to 'doc/src/snippets/declarative/parentchange.qml')
-rw-r--r-- | doc/src/snippets/declarative/parentchange.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/snippets/declarative/parentchange.qml b/doc/src/snippets/declarative/parentchange.qml index 7f5718a..ea50832 100644 --- a/doc/src/snippets/declarative/parentchange.qml +++ b/doc/src/snippets/declarative/parentchange.qml @@ -41,9 +41,8 @@ //![0] import Qt 4.7 -Rectangle { - width: 200 - height: 100 +Item { + width: 200; height: 100 Rectangle { id: redRect |