On 02/24/2012 12:04 PM, franck34 wrote: > Hi the list, > > I'm trying to change zIndex of the root blocker, after it appear. > > Got a login window, and when i click "OK", i'd like to block all, > display a Composite element on top of the blocker saying "Connecting ..." > > I've tried to put composite element zIndex upper than the blocker: no way > > I've tried to put blocker zIndex lower than the composite element: no way > > I was thinking that this line below was ok, but no ... > > > root.getBlocker()._widget.getContentElement().getDomElement().style['z-index']=myCompositeElement.getZIndex()-1;
You shouldn't need to resort to DOM elements. One approach is to take your Composite element, add it to root, set its zIndex to a high enough value, and then once it is displayed call root.blockContent(x), with x being less then the composite's zIndex. This should result in the root blocking all other children. If you want you can take a look at qx.ui.window.Window - this is how its modal mode is implemented. T. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
