PDA

View Full Version : [OPEN] [FIXED-19] Can't put a TabPanel inside a carousel



rdougan
2 Jun 2010, 4:09 AM
Is this planned or a bug?

TommyMaintz
2 Jun 2010, 2:20 PM
I am not sure if I fixed this since I couldn't reproduce the problem. I have made a lot of recent changes, and a lot of them could have fixed this before I could try it out. I would suggest trying it again after we release a new build later today.

The following example works for me:


Ext.setup({
tabletStartupScreen: 'tablet_startup.png',
phoneStartupScreen: 'phone_startup.png',
icon: 'icon.png',
glossOnIcon: false,

onReady: function() {
var carousel = new Ext.Carousel({
fullscreen: true,
items: [{
xtype: 'tabpanel',
items: [{
title: 'Tab 1',
html: 'Tab 1'
}, {
title: 'Tab 2',
html: 'Tab 2'
}]
}, {
xtype: 'tabpanel',
items: [{
title: 'Tab 1',
html: 'Tab 1'
}, {
title: 'Tab 2',
html: 'Tab 2'
}]
}]
});
}
});

rdougan
3 Jun 2010, 1:54 AM
Fixed, thanks. :)