Posts tagged as:

buttonStyleName

The following example shows how you can style the emphasized button on a Halo/MX Alert control in Flex 4 by setting the buttonStyleName and emphasizedSkin styles.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set an image background on a Halo ButtonBar control (with default Spark skin) in Flex 4 by setting the buttonStyleName, firstButtonStyleName, lastButtonStyleName, and skin styles.

Full code after the jump.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 3 comments }

The following example shows how you can skin the ButtonBar control in Flex by setting the buttonStyleName style and setting one or more of the following skin styles: skin, upSkin, overSkin, downSkin, disabledSkin.

Full code after the jump.

[click to continue…]

{ 8 comments }

The following example shows how you can change the text alignment of button labels in a ButtonBar control in Flex by setting the buttonStyleName and textAlign styles.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the corner radius on a ButtonBar control in Flex by setting the buttonStyleName and cornerRadius styles.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can customize the appearance of the buttons in an Alert control in Flex by setting the buttonStyleName style.

Full code after the jump.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 4 comments }

Styling the Flex Alert control

by Peter deHaan August 11, 2007

This is a more complex version of my previous example. This time in addition to making the Alert control’s text non-selectable, we use an embedded font for the Alert title, message, buttons, as well as edit the drop shadow, remove the rounded corners, and remove the button skins.
Full code after the jump.

Read the full article →

Styling buttons in an Alert control

by Peter deHaan August 9, 2007

Here’s a basic example of applying a custom style to an Alert control’s buttons and giving them a nice, rounded effect.
Full code after the jump.

Read the full article →