This code works for me:
window.setLeft(qx.ui.core.ClientDocument.getInstance().getClientWidth())
;
window.show();
window.addEventListener("appear",
function(e)
{
window.centerToBrowser();
}, this);
BTW I don't call pack() at all
________________________________
From: Dan [mailto:[EMAIL PROTECTED]
Sent: dinsdag 16 oktober 2007 14:35
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] How to pack() a window?
On 10/16/07, Tim Kemna <[EMAIL PROTECTED]> wrote:
I'm having the same problem. I think the problem is the
call to centerToBrowser() before show(). In my code I use:
If I remove centerToBrowser(). it packs to a single pixel in the
top-left corner...
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel