diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-31 03:18:44 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-31 03:18:44 (GMT) |
commit | 6e111b951930c892d86ae914706d16a11231a546 (patch) | |
tree | 4b0f2ccb5995ce40430414c5549d07ff60f060bb /examples/declarative/anchors/anchor-changes.qml | |
parent | cb9ce64d9a233f6c53b5961cfe637ccc2ac6fa69 (diff) | |
download | Qt-6e111b951930c892d86ae914706d16a11231a546.zip Qt-6e111b951930c892d86ae914706d16a11231a546.tar.gz Qt-6e111b951930c892d86ae914706d16a11231a546.tar.bz2 |
AnchorChanges doc
Diffstat (limited to 'examples/declarative/anchors/anchor-changes.qml')
-rw-r--r-- | examples/declarative/anchors/anchor-changes.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/declarative/anchors/anchor-changes.qml b/examples/declarative/anchors/anchor-changes.qml index 37a33ff..8996439 100644 --- a/examples/declarative/anchors/anchor-changes.qml +++ b/examples/declarative/anchors/anchor-changes.qml @@ -26,14 +26,18 @@ Item { } MouseRegion { - anchors.fill: parent + anchors.fill: Content onPressed: Window.state = "FullScreen" onReleased: Window.state = "" } states : State { name: "FullScreen" - AnchorChanges { target: Content; top: Window.top; bottom: Window.bottom } + //! [0] + AnchorChanges { + target: Content; top: Window.top; bottom: Window.bottom + } + //! [0] } transitions : Transition { |