Friday, January 18, 2008

Trouble centering your popups ???

I had some trouble centering popups created through PopupManager. If you simply use 'this' as the parent display object then the popup is 'centered' according to the parent component specified (instead of to the complete stage). If you want to center your popup in the middle of your application screen you should specify 'Application.application.parentDocument'...

3 comments:

Chetan Sachdev said...

Thanks for the tip :)

Anonymous said...

Thanks a lot

Reny Mohan said...

Thanks its solved my problem!keep going..