From 9cc59a858d116f75c19a782602ab8679405d9764 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Mon, 31 Aug 2009 10:29:02 +1000 Subject: Doc fix --- doc/src/declarative/anchor-layout.qdoc | 6 ++++-- 1 file 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 -- cgit v0.12