Category Archives: TabBar (Spark)

Setting the tab width on a Spark TabBar control in Flex 4

In a previous example, “Setting the tab width on a TabBar control in Flex”, we saw how you could set the tab width on an MX TabBar control in Flex by setting the aptly named tabWidth style.

The following example shows how you can set the tab width on a Spark TabBar control in Flex 4 by creating a horizontal layout and setting the columnWidth and variableColumnWidth properties.

Continue reading Setting the tab width on a Spark TabBar control in Flex 4

Styling the selected tab on a Spark TabBar control in Flex 4

In a previous example, “Styling the selected button on a Spark ButtonBar control in Flex 4”, we saw how you could style the currently selected button on a Flex 4 Spark ButtonBar control by styling the various states on the Spark ButtonBarButton selector.

The following example shows how you can style the currently selected tab on a Flex 4 Spark TabBar control by styling the various states on the Spark ButtonBarButton selector.

Continue reading Styling the selected tab on a Spark TabBar control in Flex 4