after rotation qml rectangle is flickering when it is dragged
Hi all,
my qml rectangle starts flickering when i try to drag it after rotation. without rotation if I drag it . it gets dragged very smoothly. can anyone tell me what can be the issue.
also drag maximum and minimum is not working in both the case(with/without rotation).
please help
Thanks in advance :)
Re: after rotation qml rectangle is flickering when it is dragged
Hi,
could you share the corresponding code snippet and on which platform/Qt version you're trying?
Alex
Re: after rotation qml rectangle is flickering when it is dragged
HI,
I found the solution, had some parent issue. here is teh working code
MouseArea
{
id: movingRegion
width: qm_screenWidth // screen's width
height: qm_screenHeight // screen's height
drag.target: qmyAPP
drag.axis: Drag.XandYAxis
drag.minimumX: 0
drag.minimumY: 0
drag.maximumY: qm_screenHeight-qVlKHeight // qVKHeight and qVKWidth are the height and width of the moving rectangle
drag.maximumX: qm_screenWidth-qVKWidth
}