summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-31 00:29:02 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-31 00:29:02 (GMT)
commit9cc59a858d116f75c19a782602ab8679405d9764 (patch)
treedcc1596c6b5bd8d74402345c506117af81a4ecbf /doc/src
parente1dd37f6b54881aef3b9e1e686dc56bb96fc14ed (diff)
downloadQt-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.qdoc6
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