PDA

View Full Version : TabPanel inside GroupTabPanel layout problem (Ext3 RC1.1)



Datagenn
20 May 2009, 7:49 AM
If you use a TabPanel as an item inside a GroupTabPanel the child TabPanel's tabs are on top of one another.

Here is my example code:


...
items:[{
xtype: 'grouptabpanel',
border: false,
tabWidth: 130,
activeGroup: 0,
items: [{
//mainItem: 1,
items: [{
title: 'Signups',
iconCls: 'x-icon-subscriptions',
tabTip: 'Signups',
style: 'padding: 10px;',
html: 'second'
}, {
title: 'Overview',
iconCls: 'x-icon-subscriptions',
tabTip: 'Signups Overview',
style: 'padding: 10px;',
layout: 'fit',
items: new Ext.TabPanel({
//renderTo: Ext.getBody(),
activeTab: 0,
items: [{
title: '1 Week'
}, {
title: '1 Month'
}, {
title: '1 Quarter'
}, {
title: '1 Year'
}]
})
}
...


Would anybody have a quick fix for this by any chance?

Many thanks,
Sean

Datagenn
20 May 2009, 11:29 PM
Attached is a screenshot of the problem.

erojas
20 Jun 2009, 11:18 AM
Do you find a solution for your problem?

I have the same error.

Thanks

koko2589
20 Jun 2009, 12:24 PM
mayby

items: new Ext.TabPanel({
//renderTo: Ext.getBody(),
constrainHeader:true, activeTab: 0,
items: [{
constrainHeader:true, title: '1 Week'
}, {
constrainHeader:true, title: '1 Month'
}, {
constrainHeader:true, title: '1 Quarter'
}, {
constrainHeader:true, title: '1 Year'
}]
})
}

mjlecomte
20 Jun 2009, 12:48 PM
I believe there was a bug that is patched in svn right now.

erojas
20 Jun 2009, 6:27 PM
Sorry, But I think bug is not fixed.
I'm attaching source code

mjlecomte
20 Jun 2009, 8:17 PM
Sorry, But I think bug is not fixed.
I'm attaching source code

And what revision are you checking your code against?