Absolute Draw order?

Edit: Am dumb, confused color and background color. Element was being drawn in front, but it had no fill color!

Hi, I’m confused. I’m working on the Graph Foundation API (which is built on UITK) and trying to draw a blackboard over the graph. (Graph Foundation has a sweet built in blackboard, but it’s not quite what I need)

Here’s the problem:

Here I have an absolute positioned panel. I’m apparantly incorrect in my understanding that the bottom-most element is guaranteed to be drawn first, and you can see my panel is the last in the hierarchy but children are drawing over it. You can see, these child elements that are drawing over are certainly lower in the hierarchy:

As far as I know, I can’t use Z-ordering but the hierarchy doesn’t seem to care about absolute position child order? Quite confused, no idea how to resolve this!

Cheers,
Z.

I don’t understand exactly what you are trying to achieve, but the order in which the element are drawn is the order in the hierarchy pane if you expand every element. Without considering the masking that a parent could apply to his child, the element on top will be the last one in the hierarchy.

When changing the order of the element compared to his sibling, or changing its parent in the hierarchy they may also be a difference in the layout that may hide the shape.

Finally, if you said that there is no fill color, I would look into the visible field, opacity and background color. The background color has an alpha setting if I am not mistaken that could set it to entirely transparent.

Don’t hesitate to share more details to help me understand what you are trying to do! :slight_smile: