Re: [qooxdoo-devel] Problem to center windows

2007-06-21 Thread Jerónimo Milea
Hi, for setCentered(true); to work you need to use window.open(); not window.show() if you check the Window class code you'll notice that only the open function has the call CenterToBrowser() This way you dont have to subscribe to an event, the window is automatically centered when open :) Rega

Re: [qooxdoo-devel] Problem to center windows

2007-06-21 Thread Leander Hanwald
PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Leander > Hanwald > Gesendet: Donnerstag, 21. Juni 2007 15:13 > An: qooxdoo Development > Betreff: [qooxdoo-devel] Problem to center windows > > Hi, > > I have a problem to center inpage windows (qx.ui.window.Window) > &

Re: [qooxdoo-devel] Problem to center windows

2007-06-21 Thread Tobias Koller (GERMO GmbH)
ch.addEventListener("appear", function(e){ dialogSearch.centerToBrowser(); }); dialogSearch.show(); Tobias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Leander Hanwald Gesendet: Donnerstag, 21. Juni 2007 15:13 An: qooxdoo Development Betreff: [qoo

[qooxdoo-devel] Problem to center windows

2007-06-21 Thread Leander Hanwald
Hi, I have a problem to center inpage windows (qx.ui.window.Window) They are simply open in the left top corner. The identical code works in 0.6, but not in 0.7 I tried it with this code: var dialogSearch = new qx.ui.window.Window("Edit", "icon/16/apps/accessories-text-editor.png"); dialogSearc