1. #1
    Sencha User syntax42's Avatar
    Join Date
    May 2011
    Posts
    5
    Vote Rating
    0
    syntax42 is on a distinguished road

      0  

    Question Component and onResize?

    Component and onResize?


    I am extending Component and need to override the onResize method, that was present in the old BoxComponent. I cant seem to find it in the new mergede Component. Is there a new way to do this in 4.0?

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    extend afterComponentLayout or better yet, setup a listener for the resize, as afterComponentLayout fires the resize event.

  3. #3
    Sencha User syntax42's Avatar
    Join Date
    May 2011
    Posts
    5
    Vote Rating
    0
    syntax42 is on a distinguished road

      0  

    Default


    Thanks! I extended afterComponentLayout, and it worked pefectly... I have read somewhere that extending these methods is the best practice, so that is what i did :-)

  4. #4
    Sencha User
    Join Date
    Sep 2008
    Posts
    24
    Vote Rating
    0
    mado489 is on a distinguished road

      0  

    Default


    Maybe this tutorial http://www.sencha.com/learn/components/ shoud be updated to reflect this change...

Similar Threads

  1. Ext.ux.tree.TreeGrid onResize
    By mdavis6890 in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 8 Apr 2011, 3:39 AM
  2. Resizable by windows.onresize
    By Osman84 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 4 Jul 2010, 9:01 AM
  3. Replies: 1
    Last Post: 12 Jan 2010, 10:03 AM
  4. onResize
    By royhill in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 13 Apr 2008, 11:33 PM

Thread Participants: 2

Tags for this Thread

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..." hd porno faketaxi