Archive for the 'TabNavigator' Category

07
Oct

Setting the label placement on a TabNavigator container in Flex

In a previous example, “Setting the label placement on a TabBar control in Flex”, we saw how you could loop over the tabs in a Flex TabBar control and set each tab’s labelPlacement property using the getChildAt() method.

The following example shows how you can loop over the tabs in a Flex TabNavigator container and set each tab’s labelPlacement property using the getTabAt() method.

Full code after the jump.

Continue reading ‘Setting the label placement on a TabNavigator container in Flex’

14
Dec

Changing the padding between the tabs and content in a Flex TabNavigator control

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.

Continue reading ‘Changing the padding between the tabs and content in a Flex TabNavigator control’

26
Sep

Styling the Flex TabNavigator control

The following example shows how you can style the TabNavigator control in Flex using the tabStyleName, firstTabStyleName, lastTabStyleName, and selectedTabTextStyleName styles.

Full code after the jump.

Continue reading ‘Styling the Flex TabNavigator control’

25
Sep

Using the TabNavigator control’s tabOffset style in Flex 3

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.

Continue reading ‘Using the TabNavigator control’s tabOffset style in Flex 3′

09
Sep

Changing tab alignment within a Flex TabNavigator container

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.

Continue reading ‘Changing tab alignment within a Flex TabNavigator container’

16
Aug

Adding icons to a Flex TabNavigator control

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.

Continue reading ‘Adding icons to a Flex TabNavigator control’




December 2008
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
293031  

Badge Farm

  • Firefox 2
  • Powered by Redoable 1.2
  • Feeds burnt by Feedburner
  • Feed