Results 1 to 3 of 3

Thread: How to Center Windows for OnWindowResize Event

  1. #1
    Sencha User joevelardi's Avatar
    Join Date
    Mar 2010
    Location
    Australia
    Posts
    44

    Default How to Center Windows for OnWindowResize Event

    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.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    WindowMgr ha a getActive method.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User joevelardi's Avatar
    Join Date
    Mar 2010
    Location
    Australia
    Posts
    44

    Default

    Cheers Mitchell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •