Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Paint order / Clipping?

$
0
0
Hi folks, hope someone can help me with the following problem: setup: one big rectangle as a background two rectangles “left” and “right” side by side on top of the first rectangle some smaller “drag”-rectangles on top of the left rectangle. These small rectangles should be moved by drag-and-drop to the right side rectangle. problem: the small “drag“rectangles are only visible if they are moved on top of the left or background-rectangle. If I move it on top of the right-rectangle it gets invisible and is painted behind the right rectangle. I think it has nothing to do with z-ordering. I tried to give the small rects big z-values but without any effect. Do I have to dynamically reparent the moved rectangle? How can this be done? Many thanks in advance. Best regards Kai

Viewing all articles
Browse latest Browse all 4972

Trending Articles