diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-31 00:29:02 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-31 00:29:02 (GMT) |
commit | 9cc59a858d116f75c19a782602ab8679405d9764 (patch) | |
tree | dcc1596c6b5bd8d74402345c506117af81a4ecbf /doc/src | |
parent | e1dd37f6b54881aef3b9e1e686dc56bb96fc14ed (diff) | |
download | Qt-9cc59a858d116f75c19a782602ab8679405d9764.zip Qt-9cc59a858d116f75c19a782602ab8679405d9764.tar.gz Qt-9cc59a858d116f75c19a782602ab8679405d9764.tar.bz2 |
Doc fix
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/anchor-layout.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc index 60eefe0..f3c0f4a 100644 --- a/doc/src/declarative/anchor-layout.qdoc +++ b/doc/src/declarative/anchor-layout.qdoc @@ -57,10 +57,12 @@ Rectangle { id: Rect3; x: 150; ... } For performance reasons, you can only anchor an item to its siblings and direct parent. For example, the following anchor would be considered invalid and would produce a warning: \badcode -Item { id: group1 } +Item { + id: Group1 Rectangle { id: Rect1; ... } } -Item id: group2"> +Item { + id: Group2 Rectangle { id: Rect2; anchors.left: Rect1.right; ... } // invalid anchor! } \endcode |