qtdeclarative/tests/auto/quick/qquickanimations/data/properties5.qml

15 lines
288 B
QML

import QtQuick 2.0
Rectangle {
width: 400
height: 400
Rectangle {
id: theRect
objectName: "TheRect"
color: "red"
width: 50; height: 50
x: 100; y: 100
NumberAnimation on x { targets: theRect; properties: "y"; to: 200; }
}
}