Archive for January 2nd, 2008

02
Jan

Changing the padding on a Button control in Flex

The following example shows how you can modify the padding between the Button control’s label and icon and the button’s edges by setting the paddingLeft, paddingRight, paddingTop, paddingBottom, and horizontalGap styles.

Full code after the jump.

Continue reading ‘Changing the padding on a Button control in Flex’

02
Jan

Changing the fill colors of a Button control in Flex

The following example shows how you can change the background fill colors and fill alphas of a Button control in Flex by setting the fillColors, and fillAlphas styles.

Full code after the jump.

Continue reading ‘Changing the fill colors of a Button control in Flex’

02
Jan

Changing the fill colors of a ButtonBar control in Flex

The following example shows how you can change the background fill colors of a ButtonBar control in Flex by setting the buttonStyleName, fillColors, and fillAlphas styles.

Full code after the jump.

Continue reading ‘Changing the fill colors of a ButtonBar control in Flex’