PDA

View Full Version : sencha-touch width of tab panel decreases



Nuthan Santharam
30 Sep 2011, 2:11 AM
Hi,
-I have a problem here
tabBarDock: 'bottom'
reduces the height of the tab panel, from default top height.
-Please help


/** * @author nuthan
*/
Ext.setup({
icon:'icon.png',
glossOnIcon: false,
onReady:function(){

new Ext.TabPanel({
fullscreen: true,
type: 'dark',
sortable: true,
tabBarDock: 'bottom',
items: [{
title: 'Tab 1',
html: '1',
cls: 'card1'
}, {
title: 'Tab 2',
xtype:'map',
useCurrentLocation: true,
fullscreen:true,
layout:'fit',
cls: 'card2'
}, {
title: 'Tab 3',
html: '3',
cls: 'card3'
}]
});

}
})