[Interest] RotationAnimation and transform origin?

Jason H scorp1us at yahoo.com
Mon Dec 30 23:30:45 CET 2013


I am trying 

        Item { 
                id: head; 
                x: 0.0; y: 0
                transformOrigin: Item.Bottom

        }

        SequentialAnimation {
                id: headTilt
                RotationAnimation { target: head; duration: 500; from: 0; to: 45; easing.type: Easing.OutCubic;}

        }


but when I run it, it rotates around 0,0  (top left)

What do I have to do to get it to rotate around Item.Bottom?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131230/e0c4db42/attachment.html>


More information about the Interest mailing list