Hello,

I can write lines below and got it work:

states: State {
name: "active"; when:myitem.activeFocus;
                                            PropertyChanges { target:
myitem; z:1000; *scale: 1.2* }
                                            }
                                            transitions: Transition {
                                            NumberAnimation { properties:
scale; duration: 1000 }
}


But in these lines i can not give specific origin to scale property.

I found Scale Elment, like this:

transform: Scale { origin.x: 25; origin.y: 25; xScale: 3}

How can i inject this into state property above, because i want to use
"when" property of state,
i want scaling to run on that "when" condition.

Thanks for any idea.
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to