Results 1 to 3 of 3

Thread: show half screen

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Location
    India
    Posts
    8
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Location
    India
    Posts
    8
    Vote Rating
    0
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •