Thanks sierdzio.
I’ve got it.
I must specify a target of Behavior with “on” syntax or use only ColorAnimation.
In fact, my question came from the description of Behavior in Getting Started Programming with Qt Quick. [qt-project.org]
Following code is in the article:
In TextEditor.qml:
Behavior{
NumberAnimation{property: "rotation";easing.type: Easing.OutExpo }
}
This code doesn’t include “on” syntax, so this will not work, won’t it?
↧