diff options
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativestates/data/anchorChangesCrash.qml')
-rw-r--r-- | tests/auto/qtquick2/qdeclarativestates/data/anchorChangesCrash.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qdeclarativestates/data/anchorChangesCrash.qml b/tests/auto/qtquick2/qdeclarativestates/data/anchorChangesCrash.qml new file mode 100644 index 0000000000..9af0e4645a --- /dev/null +++ b/tests/auto/qtquick2/qdeclarativestates/data/anchorChangesCrash.qml @@ -0,0 +1,14 @@ +import QtQuick 2.0 + +Rectangle { + id: container + width: 400 + height: 400 + + states: State { + name: "reanchored" + AnchorChanges { + anchors.top: container.top + } + } +} |