PDA

View Full Version : how to fix the position of BaseDialog?



sisee
9 Mar 2007, 2:19 AM
I create a dialog use LayoutDialog,all work fine,but when i resize the window,the dialog also moveto new
position,how can i prevent it?thank you very much! I use YUI-EXT.33.

Animal
9 Mar 2007, 2:23 AM
It tries to keep the header bar visible. If this went off screen, you'd never be able to close it.

If this is OK, see http://www.yui-ext.com/deploy/yui-ext/docs/output/YAHOO.ext.BasicDialog.html

and the constraintoviewport config.

BTW, you should really use Ext 1.0, not 0.33.

sisee
9 Mar 2007, 7:34 AM
thank you very much,it's just i want.