Archive for November 2nd, 2007

02
Nov

Changing a Button control’s icon when the button is disabled

I think I saw somebody ask this on the FlexCoders mailing list, but thought I’d post the solution here since I don’t think I’ve covered it before.

The following example shows how you can set the disabledIcon style on a Flex Button control to set a different icon for when the Button control’s enabled property is set to false.

Full code after the jump.

Continue reading ‘Changing a Button control’s icon when the button is disabled’

02
Nov

Controlling the distance between tabs in a TabBar control using the horizontalGap style

The following example shows how you can control the spacing between tabs in a Flex TabBar control by setting the horizontalGap style.

Full code after the jump.

Continue reading ‘Controlling the distance between tabs in a TabBar control using the horizontalGap style’