1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    frb is on a distinguished road

      0  

    Default Spacer(tbspacer) question

    Spacer(tbspacer) question


    Sencha Designer 2 don't allow to add tbspacer to not toolbar containers, so this example from HBox Layout couldn't reproduced:
    PHP Code:
    text'Spaced',
    handler: function(){
        
    replace({
            
    layout: {
                
    type'hbox',
                
    padding:'5',
                
    align:'top'
            
    },
            
    defaults:{margins:'0 5 0 0'},
            
    items:[{
                
    xtype:'button',
                
    text'Small Size'
            
    },{
                
    xtype:'tbspacer',
                
    flex:1
            
    },{
                
    xtype:'button',
                
    scale'medium',
                
    text'Medium Size'
            
    },{
                
    xtype:'tbspacer',
                
    flex:1
            
    },{
                
    xtype:'button',
                
    scale'large',
                
    text'Large Size',
                
    margins:'0'
            
    }]
        }, 
    'spaced'); 
    how to add flex spaces between components in hbox layout?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,182
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    tbspacer - toolbar spacer

    Add a component and set the flex to 1.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    frb is on a distinguished road

      0  

    Default


    thanks

Thread Participants: 1

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