Replace a moved element into a Flow
QML and Qt Quick
3
Posts
3
Posters
2.1k
Views
1
Watching
-
wrote on 18 Nov 2010, 09:33 last edited by
Hello everybody.
I'm using a flow item to order simple rectangles. These rectangles are able to move with a mouse drag. I would like them to be replaced to their first place with a double click.
Is it possible ?
Thanks
-
wrote on 2 Dec 2010, 19:34 last edited by
You should be able to store it's position when you start the drag. If you add the code you have so far it might be easier to help you..
-
wrote on 2 Dec 2010, 20:34 last edited by
add a state for changed position and for first position