1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    27
    Vote Rating
    0
    ngardner is on a distinguished road

      0  

    Default What event is fired on window resize?

    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
    Posts
    862
    Vote Rating
    21
    jep will become famous soon enough jep will become famous soon enough

      0  

    Default


    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:

    Code:
        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
    Posts
    9
    Vote Rating
    0
    bpulliese is on a distinguished road

      0  

    Default


    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

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."