summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-01-13 05:17:47 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2011-01-13 05:17:47 (GMT)
commit7b8c7462dde454c25e92e401292e973da04f2189 (patch)
tree8d128a45d20107a6719f6be3223c45a9dbedb6d5 /doc/src
parent56bc3e3a40ab694ca5e1b2887c5887e8aa05de04 (diff)
downloadQt-7b8c7462dde454c25e92e401292e973da04f2189.zip
Qt-7b8c7462dde454c25e92e401292e973da04f2189.tar.gz
Qt-7b8c7462dde454c25e92e401292e973da04f2189.tar.bz2
Document centerIn and fill in the anchors docs
Task-number: QTBUG-16467
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/anchor-layout.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc
index f03d9ee..941acfe 100644
--- a/doc/src/declarative/anchor-layout.qdoc
+++ b/doc/src/declarative/anchor-layout.qdoc
@@ -78,6 +78,9 @@ Rectangle { id: rect3; x: 150; ... }
\image edge4.png
+There are also some convenience anchors. anchors.fill is a convenience that is the same as setting the left,right,top and bottom anchors
+to the left,right,top and bottom of the target item. anchors.centerIn is another convenience anchor, and is the same as setting the verticalCenter
+and horizontalCenter anchors to the verticalCenter and horizontalCenter of the target item.
\section1 Anchor Margins and Offsets