Results 1 to 3 of 3

Thread: [3.1.0] TabPanel with an item that has borderlayout bug

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Location
    Romania
    Posts
    56

    Default [3.1.0] TabPanel with an item that has borderlayout bug

    Hello,

    I have just discovered a bug in 3.1.0 not present in 3.0.0.
    Reproduced on FF, Chrome, IE.

    Steps to reproduce:
    1. Make a TabPanel with two tabs
    2. Make the first tab have a border layout, with two items, one in the west region, one in the center region.
    Now
    3. Select the second tab
    4. Resize browser window
    5. Go back to the first tab.

    You can only see the center region!
    Here is the code you need in order to reproduce this:
    Code:
    new Ext.Window({
            title: 'hey',
            renderTo: Ext.getBody(),
            width: 500, height: 300,
            layout: 'fit',
            items: [
                {
                    xtype: 'tabpanel',
                    activeItem: 0,
                    items: [
                        {
                            layout: 'border',
                            title: 'first tab',
                            items: [{
                                region: 'west',
                                width: 200,
                                minWidth: 190,
                                maxWidth: 210,
                                title: 'salut',
                                html: 'west region... you should always see this'
                            }, {
                                region: 'center',
                                title: 'how are you?',
                                html: 'center region'
                            }]
                        },
                        {
                            title: 'hey second tab'
                        }
                    ]
                }
            ]
        }).show()
    Attached Images Attached Images
    Last edited by radubrehar; 4 Feb 2010 at 6:50 AM. Reason: additional bug information provided

  2. #2
    Ext JS Premium Member Lloyd K's Avatar
    Join Date
    Oct 2007
    Location
    Brighton, United Kingdom
    Posts
    655

    Default

    Does it still happen with deferredRender set to false and layoutOnTabChange to true on the TabPanel?
    - Lloyd K

    I blog about code from time to time: http://codeology.lloydkinsella.net/

  3. #3
    Sencha User
    Join Date
    Oct 2009
    Location
    Romania
    Posts
    56

    Default

    Yes, it still happens with the deferredRender: false and layoutOnTabChange: true.
    So I really think it's a bug

Posting Permissions

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