-
19 Feb 2012 11:22 AM #1
Custom Tab Panel Theme With Designer 2.0 and Ext JS 4
Custom Tab Panel Theme With Designer 2.0 and Ext JS 4
I'm building a relatively complex client MVC application with multiple primary pages. The wire frames define an Apple like menu that enables navigation to each primary page in the app and features 2 specialty views: search and user state (login or identity and logout).
I believe the majority of the navigation behavior is realized in Ext JS 4 as a Tab Panel. My initial thought is to extend Tab Panel to allow specification of my own custom tab bar or tool bar and buttons. I'd need to build custom themes for each part (i.e. x.navigation-button as a sass template). This structure would enable me to override the styles to account for positional variations like border-radius for the first and last components. After reading a lot of documentation and forum postings I have the following questions:- Is my intuition correct, is a Tab Panel extension is the correct approach or should I build totally new component? Or this there a better approach?
- For the bar component, which is preferred, a Tool Bar or aTab Bar and why?
- Can a custom theme be defined for a Tab Bar?
Last edited by nealbrandi; 19 Feb 2012 at 1:06 PM. Reason: Implementation clarification
-
21 Feb 2012 6:47 PM #2
1) Would need some screenshots or mockups but seems reasonable.
2) Again back to 1. Either or would probably work though
3) Yes of courseAaron Conran
@aconran
Sencha Architect Development Team
-
31 Oct 2012 10:56 PM #3
Tab Panel Customization
Tab Panel Customization
Hi there!
I am new to Sencha Architect and I am trying to change the height of each tabs in a tabelPanel and it's driving me nuts!
The height just don't change even I've tried all cls and height configuration.. Please help me on this simple thing that I can't figure out how.. 
Thanks in advance!
Best Regards!
-
1 Nov 2012 11:26 AM #4
check to see if flex: 1 is set, if so remove the flex and then add your height
-
1 Nov 2012 3:43 PM #5
-
1 Nov 2012 4:07 PM #6
Image on Tab Panel Issue
Image on Tab Panel Issue
Hi!
Thanks for your reply! Here is the image.
Thanks again.tab_panel_issue.jpg
-
1 Nov 2012 4:10 PM #7
so you want the tabstrip to be taller than usual? the height in the top part rather than what it is?
Aaron Conran
@aconran
Sencha Architect Development Team
-
1 Nov 2012 4:15 PM #8
Thanks for the reply.. But I need the flex function for its width so I really need to set its flex to 1.
-
1 Nov 2012 4:21 PM #9
hi acoran,
yes, that's what I mean.


Reply With Quote