Unbind properties in state
I'm pretty new to Qt and just looking into QtQuick/QML, so sorry if this is a stupid question.
I've just been learning about states and the PropertyChange item. I was wondering if properties can be 'unbound' within a PropertyChange. I was specifically thinking about changing anchors, where I would want to remove an anchor setup in another state and then setup a different one. Is such a thing possible?
Thanks for any help.
For manipulating the anchors you can use the AnchorChanges element just like you would use PropertyChanges with other types of properties. To 'undo' an anchor you can set the anchor line to "undefined". http://doc.qt.digia.com/qt/qml-anchorchanges.html
Cheers! That's the page of documentation I hadn't found yet :)
Thanks for your help.