Hi Thomas,

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 ?
The answer is you don't have to :-)

--snip--
var myWin = new qx.ui.window.Window("My window");

myWin.open();
myWin.center();
--snip--

Should center the window inside your browser window.

cheers,
   Alex

------------------------------------------------------------------------------
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

Reply via email to