Savvas Sopiadis
Savvas Sopiadis

Reputation: 8223

Customizing Flex (4) Tabbar

I 'm new to Flex (4) and just learning by doing! Recently i got the requirement to make a tabbar look like the following (got from a known site)

alt text

I think i have to use a skin!? If yes how to achieve this? Asking because this component has buttons in it!

Thanks in advance

Upvotes: 1

Views: 1591

Answers (1)

Florian F
Florian F

Reputation: 8875

There is a spark TabBar component in Flex 4.

Create a new Skin for the TabBar this is based on the default spark.skins.spark.TabBarSkin

In this skin, you will see there is a DataGroup component that displays buttons. These buttons are the TabBar buttons. So you need to change the Skin of these buttons :

<s:ButtonBarButton skinClass="YourOwnBlackTabBarButtonSkin" />

Upvotes: 1

Related Questions