1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    ealpha is on a distinguished road

      0  

    Default replace the "south" with the "new Ext.StatusBar" in "layout:'border'"

    replace the "south" with the "new Ext.StatusBar" in "layout:'border'"


    replace the "south" with the "new Ext.StatusBar" in "layout:'border'"

    in the FF look ok,but in the ie the south up has some black space. see the image

    the code under here:


    PHP Code:
      Ext.onReady(function(){

            
    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
            
           var 
    viewport = new Ext.Viewport({
                
    layout:'border',
                
    items:[
                    new 
    Ext.BoxComponent({ // raw
                        
    region:'north',
                        
    el'north',
                        
    height:32
                    
    }),{
                        
    region:'south'
                        
    split:true
                        
    collapsibletrue
                        
    margins:'0 0 0 0',
                        
    bbar: new Ext.StatusBar({
                                    
    defaultText'Default status',
                                    
    id'right-statusbar',
                                    
    statusAlign'right'// the magic config
                                    
    items: [{
                                        
    text'A Button'
                                    
    }, '-''Plain Text'' '' ']
                                })
                    }, {
                        
    region:'east',
                        
    title'East Side',
                        
    collapsibletrue,
                        
    split:true,
                        
    width225,
                        
    minSize175,
                        
    maxSize400,
                        
    layout:'fit',
                        
    margins:'0 5 0 0',
                        
    items:
                            new 
    Ext.TabPanel({
                                
    border:false,
                                
    activeTab:1,
                                
    tabPosition:'bottom',
                                
    items:[{
                                    
    html:'<p>A TabPanel component can be a region.</p>',
                                    
    title'A Tab',
                                    
    autoScroll:true
                                
    },
                                new 
    Ext.grid.PropertyGrid({
                                    
    title'Property Grid',
                                    
    closabletrue,
                                    
    source: {
                                        
    "(name)""Properties Grid",
                                        
    "grouping"false,
                                        
    "autoFitColumns"true,
                                        
    "productionQuality"false,
                                        
    "created": new Date(Date.parse('10/15/2006')),
                                        
    "tested"false,
                                        
    "version".01,
                                        
    "borderWidth"1
                                    
    }
                                })]
                            })
                     },{
                        
    region:'west',
                        
    id:'west-panel',
                        
    title:'West',
                        
    split:true,
                        
    width200,
                        
    minSize175,
                        
    maxSize400,
                        
    collapsibletrue,
                        
    margins:'0 0 0 5',
                        
    layout:'accordion',
                        
    layoutConfig:{
                            
    animate:true
                        
    },
                        
    items: [{
                            
    contentEl'west',
                            
    title:'Navigation',
                            
    border:false,
                            
    iconCls:'nav'
                        
    },{
                            
    title:'Settings',
                            
    html:'<p>Some settings in here.</p>',
                            
    border:false,
                            
    iconCls:'settings'
                        
    }]
                    },
                    new 
    Ext.TabPanel({
                        
    region:'center',
                        
    deferredRender:false,
                        
    activeTab:0,
                        
    items:[{
                            
    contentEl:'center1',
                            
    title'Close Me',
                            
    closable:true,
                            
    autoScroll:true
                        
    },{
                            
    contentEl:'center2',
                            
    title'Center Panel',
                            
    autoScroll:true
                        
    }]
                    })
                 ]
            });
            
    Ext.get("hideit").on('click', function() {
               var 
    Ext.getCmp('west-panel');
               
    w.collapsed w.expand() : w.collapse(); 
            });
        }); 
    Attached Images
    taixiang shi
    ealpha@gmail.com

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,125
    Vote Rating
    514
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Give the south region a height.

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