PDA

View Full Version : Tabbar bug in popup



Ploetzi
25 Feb 2011, 7:55 AM
In popups, tabbar does not work:


var about_p=new Ext.TabPanel({
width:600,height:405,
tabBar: {
dock: 'top',
ui: 'light',
layout: 'fit',
layout: {
pack: 'center'
}
},
cardSwitchAnimation: {
type: 'slide',
cover: true
},
defaults: {
scroll: 'vertical'
},
items:[{title:"Produktbeschreibung"},{title:"Kundenrezensionen"},{title:"Zubehör"}]
});
var product_details=new Ext.Panel({
width: 904,
dock:"left",
layout:
{ type:"vbox",
align:"stretch",pack:"center"
},
items:[details]
});
popup.add(product_details);


popup.add(about_p);
popup.show('pop');

}