From a47c1fd17bead5a89a512b684a54a83f9a21a8ff Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Fri, 27 May 2011 16:55:30 +1000 Subject: [PATCH] Mention that positioners may conflict with anchors. Change-Id: I8c89abcc6dd18915dca0eb9643c2376b2d128a29 --- doc/src/declarative/anchor-layout.qdoc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc index 4dd5eb9..e732b4c 100644 --- a/doc/src/declarative/anchor-layout.qdoc +++ b/doc/src/declarative/anchor-layout.qdoc @@ -136,7 +136,9 @@ or anchors its left and right edges but additionally sets a \l {Item::}{width}, result is undefined, as it would not be clear whether the item should use anchoring or absolute positioning. The same can be said for setting an item's \l {Item::}{y} and \l {Item::}{height} with \l {Item::}{anchors.top} and \l {Item::}{anchors.bottom}, or setting \l {Item::}{anchors.fill} -as well as \l {Item::}{width} or \l {Item::}{height}. If you wish to change from using +as well as \l {Item::}{width} or \l {Item::}{height}. The same apples when using positioners +such as Row and Grid, which may set the item's \l {Item::}{x} and \l {Item::}{y} properties. +If you wish to change from using anchor-based to absolute positioning, you can clear an anchor value by setting it to \c undefined. */ -- 1.7.2.5