diff options
Diffstat (limited to 'src/quick/doc/snippets/qml/propertyanimation.qml')
-rw-r--r-- | src/quick/doc/snippets/qml/propertyanimation.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/quick/doc/snippets/qml/propertyanimation.qml b/src/quick/doc/snippets/qml/propertyanimation.qml index 2d8a3744ce..1cbb84e1db 100644 --- a/src/quick/doc/snippets/qml/propertyanimation.qml +++ b/src/quick/doc/snippets/qml/propertyanimation.qml @@ -92,7 +92,11 @@ Rectangle { color: "red" // this is a standalone animation, it's not running by default - PropertyAnimation { id: animation; target: theRect; property: "width"; to: 30; duration: 500 } + PropertyAnimation { id: animation; + target: theRect; + property: "width"; + to: 30; + duration: 500 } MouseArea { anchors.fill: parent; onClicked: animation.running = true } } |