Widget layer: keep widget always on top

I have a menu system which uses different widgets as pages essentially. Each widget displays some content. But I want an exit button across all widgets. Instead of making a button for each widget, I created a separate widget. Widget-ception as it were. The problem is, how can I keep the button widget always on top? New widgets get drawn over old ones and messing with sorting order only seems to matter within the scope of a single widget. So widget A sorted to 0 has no effect on widget B sorted to 1, etc.

The Z order did not help? You may have to add one widget to the other.

1 Like