The language reference says “Name of CSS style declaration that specifies styles for the tabs. The default value is undefined.” But, what is the “type” of style that is being used? That is, what style properties can I put in that style definition.
For example, I wish to set the disabledColor of the text on the tab. I couldnt seem to do it. Worse, I haven’t been able to find out what I can do!
According to livedocs, the
tabStyleNamestyle applies to theTabclass used – which is hidden and hence not available in online reference. You can look up the source – go to the installation folder of flex and find the correct version sdk, and browse down to the filemx\controls\tabBarClasses\Tab.as– you should be able to find the style properties accepted by that class in there.Write the css in the style.css file
Include the CSS file in to your
Applicationfile using:Now you can set it as:
If you don’t want a separate css file, you can inline the css using: