Using rotation on a Flickable item
I'm using a flickable with an image inside it:
This works just fine and the image can be flicked properly around the screen.
If I set the rotation property on the flickable. For example setting it like this:
flick.rotation = 90
Makes the image rotate 90 degrees properly. However now to my problem. When the image is rotated for example 90 degrees the "borders" for the flickable does not change according to the rotation. So I cannot flick around my image properly anymore instead it stops at the original "borders" so to speak. Am I missing some magic setting when doing my rotation or something else?
To follow up on my problem. I tried to rotate the image in the Flickable instead and even setting the Flickable.contentWidth/Height. The weird thing is it seems that the contentWidth and Height are updated in both cases (rotating either the Flickable or the Image inside it) showing the new sizes. It's just the flickable boundaries that are not properly updated.
Is this a bug or am I missing something?