diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-02-03 18:14:31 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-02-03 18:15:47 (GMT) |
commit | 0a10f00d1ca93e30982b662e2d35841dab5d7bbb (patch) | |
tree | 59625a1cf4c9d341b43c0068ac67ea84e9640fc2 /src/declarative/graphicsitems/qmlgraphicsitem.cpp | |
parent | 37ca31b22426ac746641b9ff22d9df4ff71850c1 (diff) | |
download | Qt-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.cpp | 2 |
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. |