summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitem.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-12-13 05:46:33 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-12-13 05:46:33 (GMT)
commit047695e49afa1303d8d83c326bfeeaf01297fefe (patch)
tree4c05c843318ed11368bcd70ab5dcb620b926ef18 /src/declarative/graphicsitems/qdeclarativeitem.cpp
parent409f60f0f6fd2c2bad6125d0463c812ba1b1180a (diff)
parent18b940539d0633f30ae055feedb48aeb15969814 (diff)
downloadQt-047695e49afa1303d8d83c326bfeeaf01297fefe.zip
Qt-047695e49afa1303d8d83c326bfeeaf01297fefe.tar.gz
Qt-047695e49afa1303d8d83c326bfeeaf01297fefe.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index cf12688..4cf9b26 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -1839,9 +1839,9 @@ void QDeclarativeItem::setClip(bool c)
/*!
\qmlproperty real Item::z
- Sets the stacking order of the item. By default the stacking order is 0.
+ Sets the stacking order of sibling items. By default the stacking order is 0.
- Items with a higher stacking value are drawn on top of items with a
+ Items with a higher stacking value are drawn on top of siblings with a
lower stacking order. Items with the same stacking value are drawn
bottom up in the order they appear. Items with a negative stacking
value are drawn under their parent's content.
@@ -2142,6 +2142,8 @@ QDeclarativeAnchorLine QDeclarativeItemPrivate::baseline() const
Margins apply to top, bottom, left, right, and fill anchors.
The \c anchors.margins property can be used to set all of the various margins at once, to the same value.
+ Note that margins are anchor-specific and are not applied if an item does not
+ use anchors.
Offsets apply for horizontal center, vertical center, and baseline anchors.