mohamed.irshad.k Posted October 6, 2011 Share Posted October 6, 2011 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
danni.coy Posted October 6, 2011 Share Posted October 6, 2011 Combining both widgets in a hbox or vbox (and using GUI_ALIGN_OVERLAP inside the box) seems to do the trick. Link to comment
mohamed.irshad.k Posted October 13, 2011 Author Share Posted October 13, 2011 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
manguste Posted October 19, 2011 Share Posted October 19, 2011 A sample is added to the wish list. It will hardly be in the next update, though. Most probably in the next following one. Link to comment
Recommended Posts