1. #1
    Sencha User
    Join Date
    Feb 2011
    Location
    India
    Posts
    8
    Vote Rating
    0
    shwt.saxena09 is on a distinguished road

      0  

    Default Unanswered: show half screen

    Unanswered: show half screen


    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..........
    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........

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,207
    Answers
    3517
    Vote Rating
    856
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Location
    India
    Posts
    8
    Vote Rating
    0
    shwt.saxena09 is on a distinguished road

      0  

    Default


    but i need that type of design........... please help me

Thread Participants: 1