ScaleRotateCenter problem

I am using an animation to animate a scale change. I want the item to scale up uniformly in all directions. I have the scaleRotateCenter property set to [width / 2, height / 2]. However, when I run my animation, the item grows to the right and downward direction from the top-left corner. Am I misunderstanding the use of scaleRotateCenter?

I am seeing this same issue. Were you able to figure it out?

How are you accessing the height/width property of your node?
Be sure to use boundingRect() to get the proper values.

Here is my code.

Please try inheritParentTransform = “true” in the group tag of xml, which you are scaling.