7 Mar 2012 1:52 AM #1
need to place buttons on Tabpanel header in viewport
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??
7 Mar 2012 10:16 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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.
7 Mar 2012 7:22 PM #3
7 Mar 2012 9:38 PM #4
Thanks for the suggestion, but can you please provide a code snippet or a link to an example?