diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-05 04:19:15 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-05 04:19:15 (GMT) |
commit | 0b4d84e3980e415df3078e97d44ee5216fbbff07 (patch) | |
tree | 07ce1e758ec9506491a32ef77905f4732cdc43f0 /src/declarative | |
parent | cb486319b599eccbc40166d0b3d057d11d92759c (diff) | |
download | Qt-0b4d84e3980e415df3078e97d44ee5216fbbff07.zip Qt-0b4d84e3980e415df3078e97d44ee5216fbbff07.tar.gz Qt-0b4d84e3980e415df3078e97d44ee5216fbbff07.tar.bz2 |
Doc fix.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/util/qdeclarativestateoperations.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativestateoperations.cpp b/src/declarative/util/qdeclarativestateoperations.cpp index cd06380..f13c691 100644 --- a/src/declarative/util/qdeclarativestateoperations.cpp +++ b/src/declarative/util/qdeclarativestateoperations.cpp @@ -562,7 +562,11 @@ QString QDeclarativeStateChangeScript::typeName() const \brief The AnchorChanges element allows you to change the anchors of an item in a state. In the following example we change the top and bottom anchors of an item: - \snippet examples/declarative/anchors/anchor-changes.qml 0 + \qml + AnchorChanges { + target: content; top: window.top; bottom: window.bottom + } + \endqml AnchorChanges will 'inject' \c x, \c y, \c width, and \c height changes into the transition, so you can animate them as you would normally changes to these properties: |