Results 1 to 3 of 3

Thread: What event is fired on window resize?

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Vote Rating

    Default What event is fired on window resize?

    I am needing to re-draw everything after load (image has % height, and always messes up layout on first load, refreshing fixes the problem - as well as resizing the browser window). So, I am wanting to manually call the "browser resize" event, or force sencha to redraw everything. Can someone point me in the right direction? Thanks.

  2. #2
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Vote Rating


    I don't know the BEST way to do it, but I do know that putting this in your onReady function will work to hook into the browser resize:

        Ext.EventManager.onWindowResize(function () {
          console.log('window resize');
    I pass it along without any other advice because I only read about it yesterday and I'm still trying to figure out how to solve some browser resizing problems. But hopefully this will help you.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2011
    Vote Rating


    Ever get a solution to this? I to would like to fire the redraw event grammatically.

Similar Threads

  1. resize event fired instead of onClick for Ext.Button elements
    By techakone in forum Ext 3.x: Help & Discussion
    Replies: 14
    Last Post: 16 Aug 2010, 6:27 AM
  2. Window resize event
    By akirillov in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 1 Feb 2010, 3:34 AM
  3. resize event fired and stomping on button click event object
    By davem in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 3 Dec 2009, 2:15 PM

Posting Permissions

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