jensschumacher
25 Jan 2007, 10:16 AM
Hi,
I'm not certain if it is a bug or just me overlooking the obvious, but the BasicDialog.center() method doesn't seem to work for me.
After creating the dialog following the example [1], I scroll down the page to a button at the bottom. This button calls a new method on the HelloWorld object to center the dialog. I would expect the dialog to move down to the center of the screen recognizing the scroll-bar offset, but unfortunately this doesn't seem to work.
Does anyone else have troubles with the center method?
Cheers,
Jens
[1] http://www.yui-ext.com/deploy/yui-ext/examples/dialog/hello.html
I'm not certain if it is a bug or just me overlooking the obvious, but the BasicDialog.center() method doesn't seem to work for me.
After creating the dialog following the example [1], I scroll down the page to a button at the bottom. This button calls a new method on the HelloWorld object to center the dialog. I would expect the dialog to move down to the center of the screen recognizing the scroll-bar offset, but unfortunately this doesn't seem to work.
Does anyone else have troubles with the center method?
Cheers,
Jens
[1] http://www.yui-ext.com/deploy/yui-ext/examples/dialog/hello.html