diff options
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativebehaviors/data/startOnCompleted.qml')
-rw-r--r-- | tests/auto/qtquick2/qdeclarativebehaviors/data/startOnCompleted.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qdeclarativebehaviors/data/startOnCompleted.qml b/tests/auto/qtquick2/qdeclarativebehaviors/data/startOnCompleted.qml new file mode 100644 index 0000000000..fdc3779a5c --- /dev/null +++ b/tests/auto/qtquick2/qdeclarativebehaviors/data/startOnCompleted.qml @@ -0,0 +1,15 @@ +import QtQuick 2.0 + +Rectangle { + width: 400 + height: 400 + + Rectangle { + id: innerRect + width: 100; height: 100 + color: "green" + Behavior on x { NumberAnimation {} } + } + + Component.onCompleted: innerRect.x = 100 +} |