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’
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.
Continue reading ‘Setting skins on the the Flex ButtonBar control’
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.
Continue reading ‘Setting the button label text alignment in a Flex ButtonBar control’
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.
Continue reading ‘Setting the button corner radius in a Flex ButtonBar control’
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.
Continue reading ‘Styling the Alert control’s nested buttons’
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’
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.
Continue reading ‘Styling the Flex Alert control’
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.
Continue reading ‘Styling buttons in an Alert control’