summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsitem.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-03 18:14:31 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-03 18:15:47 (GMT)
commit0a10f00d1ca93e30982b662e2d35841dab5d7bbb (patch)
tree59625a1cf4c9d341b43c0068ac67ea84e9640fc2 /src/declarative/graphicsitems/qmlgraphicsitem.cpp
parent37ca31b22426ac746641b9ff22d9df4ff71850c1 (diff)
downloadQt-0a10f00d1ca93e30982b662e2d35841dab5d7bbb.zip
Qt-0a10f00d1ca93e30982b662e2d35841dab5d7bbb.tar.gz
Qt-0a10f00d1ca93e30982b662e2d35841dab5d7bbb.tar.bz2
Document margins property
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsitem.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsitem.cpp b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
index f26496e..b03f359 100644
--- a/src/declarative/graphicsitems/qmlgraphicsitem.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
@@ -2161,6 +2161,7 @@ QmlGraphicsAnchorLine QmlGraphicsItem::baseline() const
\qmlproperty Item Item::anchors.fill
\qmlproperty Item Item::anchors.centerIn
+ \qmlproperty real Item::anchors.margins
\qmlproperty real Item::anchors.topMargin
\qmlproperty real Item::anchors.bottomMargin
\qmlproperty real Item::anchors.leftMargin
@@ -2173,6 +2174,7 @@ QmlGraphicsAnchorLine QmlGraphicsItem::baseline() const
relationship with other items.
Margins apply to top, bottom, left, right, and fill anchors.
+ The margins property can be used to set all of the various margins at once, to the same value.
Offsets apply for horizontal center, vertical center, and baseline anchors.