1 2 3 4 5 6 7 8 9 10
import QtQuick 2.0 Rectangle { width: 200 height: 200 Text { Behavior on anchors.verticalCenterOffset { NumberAnimation { duration: 300; } } text: "Hello World" } }