1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    25
    Vote Rating
    0
    Neville Burnell is on a distinguished road

      0  

    Default [2.1][CLOSED] new Ext.StatusBar({...}) renders differently to [{xtype:'statusbar'}]

    [2.1][CLOSED] new Ext.StatusBar({...}) renders differently to [{xtype:'statusbar'}]


    Under Firefox 3b5, the following Ext 2.1 example code extract works fine:
    PHP Code:
    bbar: new Ext.StatusBar({
              
    defaultText'Default status',
              
    id'basic-statusbar',
              
    defaultIconCls'',
              
    items: [{
                
    text'A Button'
              
    }, '-''Plain Text'' '' ']
            }) 
    However, 'converting' this to an "xtype" config loses the right alignment rendering of the 'A Button' and 'Plain Text'. eg:

    PHP Code:
    bbar: [{
      
    xtype:'statusbar',
      
    id'basic-statusbar',
      
    defaultText'Default status',
      
    defaultIconCls'',
      
    items: [{
        
    text'A Button'
      
    }, '-''Plain Text'' '' ']
    }] 

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    At this time, xtype is not supported for StatusBar because in 2.1 it is not fully supported for Toolbar (StatusBar's base class). This has already been fixed for 3.0 (Toolbar has been completely refactored), but for 2.1 this will have to remain as a known limitation. I'll add a note in the docs to that affect.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar