This was already multiple times in this list :)
--
centerToBrowser depends that the widget is rendered previously if I
remember correctly.
This means you can try the following as an alternative:
w1.addEventListener("appear", function(e) {
this.centerToBrowser();
});
w1.add(vert);
w1.open();
Hope this helps.
Sebastian
Philipp Wabinski schrieb:
> Hi,
>
> I tried to center an internal Window.
>
> When I use it the following way:
>
> this.win.centerToBrowser();
> this.win.open();
>
> The window is centered in the middle of the browser window but it is some
> pixels large (4 grey pixel);
>
> when I use it this way:
>
> this.win.open();
> this.win.centerToBrowser();
>
> The window has got the right size but the buttons are smaller as normal,
> also the button to close the window.
> They are just as big as the icon and text of the button with no space.
>
> When I don`t use center to Window the Window looks as it should but appears
> in the upper left.
>
> Im using qooxdoo 0.6.3 at the moment
>
> I don`t know any more things to try. I think both of it should work!
>
> Thanks for any help or suggestions
>
> Philipp
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel