Jump to content

How to maintain the Z order of widgets?


photo

Recommended Posts

Is there any way we can manually control the Z order of the widgets?

For example, I have two custom made overlapping windows made from WidgetSprite (demo sample ui_01) and I want to keep one of them always on top, even if I click on the other window it shouldn't pop top. I tried the GUI_ALIGN_FIXED flag and widget.raise() function but doesn't seem to be working.

Link to comment

Thanks Danni, that seems to work.

 

@Unigine: A sample project in the next release depicting how to convert an overlapping widget to fixed one and make it appear always on top/bottom would be great.

Link to comment
×
×
  • Create New...