vivendi
12 Sep 2011, 1:12 AM
I have a panel in which i want to place a tabbar at the bottom. But for some reason it doesn't go down. It stays at the top... Anyone any idea what i'm doing wrong??
var BottomTabs = new Ext.TabPanel({
tabBar: {
dock: 'bottom',
ui: 'light',
layout: {
pack: 'center'
}
},
items: [{
title: 'About',
html: '<p>Docking tabs to the bottom...</p>',
iconCls: 'info',
cls: 'card card1'
}]
})
app.views.intro = Ext.extend(Ext.Panel, {
fullscreen: true,
cls: 'background',
items: [BottomTabs]
});
var BottomTabs = new Ext.TabPanel({
tabBar: {
dock: 'bottom',
ui: 'light',
layout: {
pack: 'center'
}
},
items: [{
title: 'About',
html: '<p>Docking tabs to the bottom...</p>',
iconCls: 'info',
cls: 'card card1'
}]
})
app.views.intro = Ext.extend(Ext.Panel, {
fullscreen: true,
cls: 'background',
items: [BottomTabs]
});