Tag Archive for 'linkbar'

01
May

Setting the separator width on a LinkBar control in Flex

The following example shows how you can change the width of the item separators in a Flex LinkBar control by setting the separatorWidth style.

Full code after the jump.

Continue reading ‘Setting the separator width on a LinkBar control in Flex’

20
Apr

Setting the vertical spacing between items in a LinkBar control in Flex

In a previous example, “Setting the horizontal spacing between items in a LinkBar control in Flex”, we saw how to change the horizontal spacing between items in a Flex LinkBar control by setting the horizontalSpacing style.

The following example shows how you can set the vertical spacing between items in a vertical Flex LinkBar control by setting the verticalGap style.

Full code after the jump.

Continue reading ‘Setting the vertical spacing between items in a LinkBar control in Flex’

20
Apr

Setting the horizontal spacing between items in a LinkBar control in Flex

The following example shows how you can set the horizontal spacing between items in a Flex LinkBar control by setting the horizontalGap style.

Full code after the jump.

Continue reading ‘Setting the horizontal spacing between items in a LinkBar control in Flex’

19
Apr

Setting the separator color on a LinkBar control in Flex

The following example shows how you can change the color of the item separators in a Flex LinkBar control by setting the separatorColor style.

Full code after the jump.

Continue reading ‘Setting the separator color on a LinkBar control in Flex’

09
Feb

Adding icons to the Flex LinkBar control

The following example shows how you can add icons to the LinkBar control in Flex by setting the iconField property.

Full code after the jump.

Continue reading ‘Adding icons to the Flex LinkBar control’

21
Jan

Setting the button link corner radius on a Flex LinkBar control

The following example shows you how to set the corner radius on the link buttons in a LinkBar control in Flex by setting the linkButtonStyleName and cornerRadius styles.

Full code after the jump.

Continue reading ‘Setting the button link corner radius on a Flex LinkBar control’

21
Jan

Setting the background color and background alpha on a Flex LinkBar control

The following example shows how you can change the background color and background alpha on a LinkBar control in Flex by setting the backgroundColor and backgroundAlpha styles using either MXML, ActionScript, or CSS.

Full code after the jump.

Continue reading ‘Setting the background color and background alpha on a Flex LinkBar control’

20
Jan

Setting the selected index of a Flex LinkBar control

The following example shows you how you can set the selected index of a LinkBar control in Flex by setting the selectedIndex property using MXML or ActionScript.

Full code after the jump.

Continue reading ‘Setting the selected index of a Flex LinkBar control’

16
Jan

Determining which item was clicked in a Flex LinkBar control

The following example shows how you can determine which item was clicked in a LinkBar control in Flex by listening for the itemClick event.

Full code after the jump.

Continue reading ‘Determining which item was clicked in a Flex LinkBar control’

14
Jan

Setting a label’s font weight on a Flex LinkBar and ToggleButtonBar control

The following example shows how you can set the font weight of a label on LinkBar control and ToggleButton control in Flex by setting the linkButtonStyleName style and buttonStyleName style respectively.

Full code after the jump.

Continue reading ‘Setting a label’s font weight on a Flex LinkBar and ToggleButtonBar control’

19
Aug

Creating a vertical LinkBar in Flex

I was playing around with the Flex LinkBar control this morning and somehow I never noticed it had a direction property. Well, it does, so I made a quick little app which filters an XML data provider based on which tab you’re on.

Full code after the jump.

Continue reading ‘Creating a vertical LinkBar in Flex’