Hello Rob, that's it.
I only forgot .getRoot() in my Application.js root. So the following code works: this.getRoot().addListener("resize",function(){ this.__handleResize(); }, this); Now I have a strange behavior using firebug. Firebug changes its framesize by a mousehoover on the frameborder to the normal browser page. But right now it's not an important issue for me. Thanks for the help, daniel On Mon, Sep 26, 2011 at 7:58 AM, Robert Nimax <robert.ni...@inform-software.com> wrote: > Hi, > what aboud qx.application.AbstractGui.getRoot() ? > It´s a typical widget having a "resize"-event. > > HTH, > Rob. > >>>> Daniel Woste <daniel.wo...@useblocks.com> 9/25/2011 9:28 >>> > Hello everybody, > > I'm searching for a way to get a qooxdoo window relocated to the > browser's center, if the browser window is resized by the user. > Is there a way to listen on the DOM "onresize" event?? > > I also found some examples in different mailing lists, which mention > the "resize" event in the qooxdoo application class. > But I do not find anything in the api docs about "resize" events fired > up by application or even layout classes. > > Any ideas? > > Thanks for the help > daniel > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel