diff options
Diffstat (limited to 'examples/declarative/anchors')
-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 { |