1. #1
    Ext User
    Join Date
    Feb 2008
    Posts
    34
    Vote Rating
    0
    JP_ExtJS is on a distinguished road

      0  

    Default Tree to fit BorderLayout region

    Tree to fit BorderLayout region


    Hi,
    I'm trying to have a tree inside the western region of a border layout, such that the width and height of the tree are automatically adjusted for it to fill out the entire region.
    I render the tree to an HTML element
    <divid="treeDbs"/>


    treeDbs = new TreePanel(
    {
    root: root,
    renderTo: Ext.get( "treeDbs" ),
    //autoScroll: true,
    //autoHeight: false,
    //autoHeight: true,
    //fitToFrame: true,
    //height:200,
    animate: false,
    //frame: true,
    title: "Databases tree"
    }

    The layout region looks like:
    {
    region:'west',
    title:'West',
    split:true,
    contentEl: "treeDbs"
    }

    What I get is that tree is always correctly resized on the horizontal, but never on the vertical. It grows and shrinks in height according to its contents, not to the region's height. I've tried it with both TreePanel.autoHeight set true and false.

    Any suggestion would be greatly appreciated.
    Thank you.

  2. #2
    Sencha User
    Join Date
    Jun 2007
    Posts
    33
    Vote Rating
    0
    gtaylor is on a distinguished road

      0  

    Default similar problems

    similar problems


    I'm having similar problems but I'm trying to put a tree into a tabpanel that is in the west region. I can't get it to fill the space either. I'll be interested to see how it should be done.

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