Hey Leander, Thanks for your reply! It worked! I tried half a dozen different combinations just not that one! =)
I think I was doing it a particular way so the window could be filled with an ajax call back function based on server data. I'll experiment more and post results. Cheers, Jared ------------------------------ Message: 5 Date: Wed, 1 Aug 2007 23:15:06 +1200 From: "Jared Broad" <[EMAIL PROTECTED]> Subject: [qooxdoo-devel] centerToBrowser() Bug? To: <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="windows-1250" Hello, I am just writing to inform of a potential bug in centerToBrowser which distorts internal windows. This code works: (centers to browser, looks good) //Set dimensions alertWindow.set( {height: 160, width: 450} ); alertWindow.addEventListener("appear", function(e) { alertWindow.centerToBrowser(); }); alertWindow.open(); alertWindow.addToDocument(); This code doesn't work: (Centers to browser, but looks weird/distorted) //Set dimensions alertWindow.set( {height: 160, width: 450} ); //alertWindow.addEventListener("appear", function(e) { // alertWindow.centerToBrowser(); //}); alertWindow.open(); alertWindow.addToDocument(); alertWindow.centerToBrowser(); Same behaviour in both IE 6.02, FF 2.06, Perhaps someone could confirm this (/or if I am doing something silly), and then we could add it to the bug tracker, Regards, Jared No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31/07/2007 5:26 p.m. ------------------------------ ------------------------------------------------------------------------- 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 End of qooxdoo-devel Digest, Vol 15, Issue 1 ******************************************** No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31/07/2007 5:26 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31/07/2007 5:26 p.m. ------------------------------------------------------------------------- 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
