Results 1 to 4 of 4

Thread: need to place buttons on Tabpanel header in viewport

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    59
    Vote Rating
    0
      0  

    Default need to place buttons on Tabpanel header in viewport

    Hi,
    Im trying to insert buttons into header of tabpanel but didnt find anything that can help me do that. tbar creates a new bar below the tabs and puts buttons on it. Attached screenshot. Rectangle marked RED is the place where I want to place the buttons. How can I do that??
    Attached Images Attached Images

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

    Default

    After the header has been created you can use insert to insert components to it. All the header is is a container using hbox layout.
    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
    Jan 2012
    Posts
    1,376
    Vote Rating
    116
      0  

    Default

    Simple solution is put your tabpanel inside a panel.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Thanks for the suggestion, but can you please provide a code snippet or a link to an example?

Posting Permissions

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