Results 1 to 3 of 3

Thread: Border layout in Tab

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    12

    Default Border layout in Tab

    I'm wondering how to make this layout work properly, render ok in IE(8) and Opera(10.53), but not in FF(3.6.11) neither Safari(4.05), east region render outside.

    PHP Code:
    Ext.onReady(function(){

        new 
    Ext.Viewport({
            
    layout'vbox',
            
    items: [{
                
    xtype'container',
                
    height30,
                
    html'Username - Logout'
            
    },
            {
                
    xtype'tabpanel',
                
    flex1,
                
    activeTab0,
                
    items: [{
                    
    xtype'container',
                    
    title'Tab 1',
                    
    layout'border',
                    
    items: [{
                        
    region'west',
                        
    title'West',
                        
    width150
                    
    },
                    {
                        
    region'center',
                        
    title'Center'
                    
    },
                    {
                        
    region'east',
                        
    title'East',
                        
    width150
                    
    }]
                },
                {
                    
    xtype'container',
                    
    title'Tab 2'
                
    },
                {
                    
    xtype'container',
                    
    title'Tab 3'
                
    }]
            }]
        });

    }); 

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    vbox will not width the child items unless you configure it with align

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    12

    Default perfect !

    like a charm, many thanks

Similar Threads

  1. layout border inside tab
    By sofway in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 20 May 2010, 7:52 PM
  2. Problems rendering border layout in a tab layout
    By teflon111 in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 17 Jun 2008, 2:48 AM
  3. Replies: 0
    Last Post: 8 May 2008, 1:16 PM
  4. [2.0] Nested Layout - border layout inside tab layout
    By anzuk in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 8 Oct 2007, 5:13 AM
  5. [2.0] Nested Layout - border layout inside tab layout
    By anzuk in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 8 Oct 2007, 5:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •