1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    50
    Vote Rating
    0
    arnair is on a distinguished road

      0  

    Default ContentPanel fitToFrame on "center" region

    ContentPanel fitToFrame on "center" region


    Hi,

    I have a simple north/west/center layout (all of them have fitToFrame:true) and both the north and west region divs are stretched to fit the frame, but the 'content' div is not.

    Is fitToFrame: true ignored for the "center" region? Here's the code snippet:
    Code:
    layout.add( 'center', new YAHOO.ext.ContentPanel( 'content' ), {fitToFrame:true} );
    TIA.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    layout.add( 'center', new YAHOO.ext.ContentPanel( 'content' ), {fitToFrame:true} ) );

    Notice I moved the paren.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    50
    Vote Rating
    0
    arnair is on a distinguished road

      0  

    Default


    Damn, I'm retarded :) Jack, thank you for pointing that out - it of course works after I made that change.

Similar Threads

  1. Where are animate classes: "Actor" , "Animato
    By Young in forum Ext 2.x: Help & Discussion
    Replies: 13
    Last Post: 25 Jul 2007, 4:00 AM
  2. Simple "window" or region.
    By andrey.korolyov in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 5 Mar 2007, 9:25 AM
  3. Hiding "Center" Region
    By manugoel2003 in forum Community Discussion
    Replies: 14
    Last Post: 3 Jan 2007, 3:44 AM
  4. Empty "north" region. But I still want the bar the
    By Animal in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 14 Nov 2006, 4:46 AM

Thread Participants: 1

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