PDA

View Full Version : How to Center Windows for OnWindowResize Event



joevelardi
19 Dec 2012, 5:40 PM
I have multiple forms ( windows) within my application.

When Ext.EventManager.onWindowResize is triggered, how do i independently target the active Window ?

I was thinking of placing a listener on the window but am unsure on how to achieve this.

Thanks, Joe.

mitchellsimoens
21 Dec 2012, 9:19 AM
WindowMgr ha a getActive method.

joevelardi
23 Dec 2012, 6:20 AM
Cheers Mitchell.