1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Belarus, Gomel
    Posts
    42
    Answers
    3
    Vote Rating
    -1
    dmitryfisko is an unknown quantity at this point

      0  

    Default Answered: Filling free space container.

    Answered: Filling free space container.


    Hi all.
    I have 4 container. The second has the selectField inside themselves. Fourth docked bottom and has a fixed height. How to stretch the first and third container so that they take up all available space. Should be like this. Please help me.

    Code:
    Ext.define('MyApp.view.MyContainer', {    extend: 'Ext.Container',
    
    
        config: {
            items: [
                {
                    xtype: 'container',
                    style: 'background: green'
                },
                {
                    xtype: 'container',
                    items: [
                        {
                            xtype: 'selectfield',
                            label: 'Field'
                        }
                    ]
                },
                {
                    xtype: 'container',
                    style: 'background: green'
                },
                {
                    xtype: 'container',
                    docked: 'bottom',
                    height: '2.5em',
                    style: 'background: red',
                    layout: {
                        type: 'hbox'
                    }
                }
            ]
        }
    
    
    });
    P.S. Sorry for my English

  2. You can use the flex property or a fit layout. Please take a look at this guide.

  3. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      1  

    Default


    You can use the flex property or a fit layout. Please take a look at this guide.

  4. #3
    Sencha User
    Join Date
    May 2012
    Location
    Belarus, Gomel
    Posts
    42
    Answers
    3
    Vote Rating
    -1
    dmitryfisko is an unknown quantity at this point

      0  

    Default


    Thank you very much

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..."