Hi Tom You can simply use the "center" method of the Window class: http://demo.qooxdoo.org/current/apiviewer/#qx.ui.window.Window
When i write custom window classes that should be centered, i place the following line in the constructor (or whenever the contents of the windows change): this.addListenerOnce("resize", this.center, this); Cheers - Roman Thomas Schober wrote: > Hi, > > i am developing a Application, inherited from qx.application.Standalone. > Now i want to open a window, which is placed in the center of the > browser window. How can i get the height and width of the underlying > canvas ? > > Thank you > Tom > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel