Results 1 to 3 of 3

Thread: Fill / Spacer / Seperator for Tab-Panel?

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    81
    Vote Rating
    0
      0  

    Default Fill / Spacer / Seperator for Tab-Panel?

    The toolbar has 3 components uniquely for positioning toolbar elements, 'tbfill', 'tbspacer' & 'tbseperator'... I Might be wrong, but i can't find any similar elements for the TabPanel.

    Are there any plans to introduce similar elements for the TabPanel so we can control the position of our tabs? And would you use them if they were on offer?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    There aren't any current plans to support these types of components in the tab bar.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Apr 2012
    Posts
    81
    Vote Rating
    0
      0  

    Default

    Ok, so it's not possible that way. But if anyone else is attempting to do something like this, look at the Tab-config:
    Code:
                        tabConfig: {
                            xtype: 'tab',
                            margins: '0 0 0 50'
                        },
    In this case I used it to break up my tabs into 2 groups by adding a margin to one. If all you want to do is add a fixed gap you can do it this way

    Oh, and thanks mitchell for the response

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
  •