1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    sanova is on a distinguished road

      0  

    Default Issue with vbox panel and hbox panel into tabPanel

    Issue with vbox panel and hbox panel into tabPanel


    Another issue with layout:

    I have 3 grids into a primary tabPanel. These grids are located in this way into tabPanel:

    grid1: on the left
    grid2 and grid3 on the right.

    i wrote this code with two panel into tabPanel:

    Code:
    // Container of grid2 and grid3 with vbox layout
    container1 = new Ext.Panel ({        title:        'container1',
            cls:        'x-btn-text-icon x-form-toolbar-standardButton',
            iconCls:    'cont1',
            layout: {
                type:    'vbox',
                align:    'stretch'
            },
            items:     [
                grid2,
                grid3
            ]
        });
    
    // Container of grid1 (on the left) and container1 (on the right) with hbox layout
    container2 = new Ext.Panel ({
            title:        'container2',
            cls:        'x-btn-text-icon x-form-toolbar-standardButton',
            iconCls:    'cont2',
            layout: {
                type:     'hbox',
                align:    'stretch'
            },
            items:     [
                grid1,
                container1,
            ]
        });
    
    // Primary tabPanel with container 2 (that contains all other objects)
    tabPanel1 = new Ext.TabPanel({
            activeTab:        0,
            flex:            1,
            autoScroll:     true,
            bodyStyle: 'background:#efefff',
            items:[
                container2           
            ]
        });
    
    
    If i put grid2 and grid3 into container2 (hbox layout) it works fine.
    But in that way i can not see grid2 and grids3 into container1. I can see only grid1 into
    container2 and in tabPanel1.
    
    What's wrong?
    
    Thanks in advance

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    sanova is on a distinguished road

      0  

    Default


    I solved. I set layout: 'border' and flex:1 to container 1 and it works fine.

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