PDA

View Full Version : Individual styling of tab buttons?



TetsuBo
28 Apr 2011, 7:43 AM
Hello, I just started using Sencha today so please bear with me.

I am trying to use tabs to recreate the row illustrated in the attachment.

I figured I could style each tab button individually with a gradient and then use iconCls to mask the individual graphics.

I can get the masking to work with iconCls but I am unable to find a way to style the button that contains the icon.
I believe I have tried all of the config options available for the Tab object to add a class to the button but they're only added to the content panel for that tab ( if that makes any sense ).

I also tried using the icon option and use a specific image for each button, but couldn't get it to work.

If someone could point me in the right direction I'd greatly appreciate it.