Hi, Stefan Volbers schrieb: > in earlier days the core devs promoted the "appear" event which belongs > to qx.ui.core.Widget; nowadays seems like they favor "resize" (seen > somewhere in the online docs). "resize" is fired when the widget is layouted and "appear" is fired when the widget/DOM element is added to the DOM and visible. If you want to get the info if a DOM element is ready to use "appear" is the better choice.
> I use that for instance for centering an > opening qx.ui.window.Window. Ain't tested the animations, but I think > it's worth testing them with this event, if you attach the listener to > the containing widget. For windows the "resize" event can also be used, since the window widget itself always changes the sizes before shown. In this case the "resize" should be because the developer then knows the layouted size and it's possible to center the window widget. I hope this lighten up some things. cheers, Alex ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
