Flickable brings image back to the original position
-
Hi, I'm trying to use 'flickable' to move image inside the screen. I can move it, but when I take finger out it came back to the original position. How can I keep the image in the new position ? Thank you.
@Flickable {
anchors.fill: parent
width: parent.width; height: parent.height
contentWidth: selected.width; contentHeight: selected.heightImage { id: selected source: "selected_photo.png" rotation:270 } }@
-
Ok. I solved the problem making content width and height higher than image width and height.
But now the problem is it only moves left and up. I can't move it to right or down, it just comes back to the original location.