Results 1 to 4 of 4

Thread: Tab header width change

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    United Kingdom
    Posts
    7
    Vote Rating
    0
      0  

    Question Tab header width change

    Is there any way to set different widths of tabs in tab panel based on the tab header text width?
    e.g. if tabpanel has 3 tabs.
    1. Tab number 1
    2. Tab number 2 xxxxxxxxxx
    3. Tab number 3 xxxxxxxxxxxxxxxxxxxx
    How to set following widths of the tabs.
    1. Tab number 1 - 150px
    2. Tab number 2 xxxxxxxxxx - 180px
    3. Tab number 3 xxxxxxxxxxxxxxxxxxxx - 200px

  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

    You can configure the Ext.tab.Tab instance by setting the tab config on each item.
    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
    Nov 2011
    Location
    United Kingdom
    Posts
    7
    Vote Rating
    0
      0  

    Default

    I am using GWT. So can you show some example to set tab config for the tab item?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by jalpa.pujara View Post
    I am using GWT. So can you show some example to set tab config for the tab item?
    You are in the wrong forum then. This is the Sencha Touch 2 forum, not Ext GWT forum.
    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

Tags for this Thread

Posting Permissions

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