The following example shows how you can adjust the amount of padding that appears between the tabs and the content of a TabNavigator control in Flex by setting the paddingTop style.
Full code after the jump.
[click to continue…]
Tagged as:
paddingTop
The following example shows how you can control the horizontal offset of the tabs in a TabNavigator control by setting the tabOffset style.
Full code after the jump.
[click to continue…]
Tagged as:
horizontalAlign,
tabOffset
The following example shows how you can change the horizontal alignment of tabs within a TabNavigator container so that the tabs are left, center, or right aligned within the container.
Full code after the jump.
[click to continue…]
Tagged as:
horizontalAlign
I was trying to figure out how to add icons to a TabNavigator control today and ended up making this. The trick is that you actually add the icon on the TabNavigator control’s child containers and not on the TabNavigator itself. The example also has three tabs which each look at a different filtered view of an XML document (filtered using E4X).
Full code after the jump.
[click to continue…]
Tagged as:
icon