PDA

View Full Version : show half screen



shwt.saxena09
14 Sep 2011, 11:29 PM
Hi

I want to show half screen on click of tabpanel's Tab...............

Means when the tabpanel screen swtich to 1st card to 2 nd screen, then 2nd screen slide up in half.........
Is that possible to fix the height of item of tabpanel......????
This is the code..........


var categoriesScreen = new Ext.Panel({
iconCls:'categories',
dockedItems:[categoriesToolbar()],
height:100,
title:'Categories'

});
var mainContainer = new Ext.TabPanel({
items:[homeScreen, categoriesScreen ],
});



If anyone have an idea....... so please help me......


Thanks in advanced......../:)

mitchellsimoens
15 Sep 2011, 4:54 AM
No, TabPanel uses Card layout which extends Fit layout meaning you can only have one item visible and at the same height as the parent component.

shwt.saxena09
15 Sep 2011, 6:59 AM
but i need that type of design........... please help me