PDA

View Full Version : How can I move object over another object smoothly in QML?



chong_kimkeang
30th October 2012, 10:23
I have two object in QML and the two are move able(one is small and another is big). One,the small, is moved over an other,the big,. How can I move the two smoothly because whenever I move the small one, it always conflict with the big one.

wysota
31st October 2012, 08:02
I'm not sure what you mean exactly. For smooth animations you can use either the Behavior element or the PropertyAnimation element.

chong_kimkeang
5th November 2012, 02:01
My problem is 8389

wysota
6th November 2012, 12:25
I'm sorry, I don't understand what you mean. What do you mean by that they "conflict" with each other?

chong_kimkeang
7th November 2012, 03:52
Oh sorry, it mean when I want to move the small object, the program mostly move the big object. The small object is hardly move even I try to point the mouse on it but instead it move the big. So I want them to be easier to move mean if i point to the space of the big, it move the big and if I point to the small's space, it move the small not the big anymore.