Hello,
I have a problem that I am trying to solve and I’ve now started to believe its a bug.
I have created an item named “Node” that is derived from QQuickItem and draws a circle.
If I do something like:
Item {
Rectangle {
x: 50
y: 50
width: 100
height: 100
color: "#FFFF0000"
}
Node {
x: 100
y: 100
radius: 20
color: "#FFFFCC00"
}
}
The Node item is drawn below the Rectangle which is not what is expected. The ordering doesn’t change even if I change the z-value of the Node.
If I do something like:
Item {
Node{
x: 50
y: 50
radius: 100
color: "#FFFF0000"
}
Node {
x: 100
y: 100
radius: 20
color: "#FFFFCC00"
}
}
Then the expected ordering is followed.
Could this be a QT bug or am I making some silly mistake??
Thanks!
-Nik.
↧