Reputation: 227
how to remove the border of a togglebuttonbar button, with keeping the theme color??
i want to put the style in css file
Upvotes: 2
Views: 3038
Reputation: 6018
You should us the following style:
.myButtonStyle
{
skin: ClassReference("mx.skins.ProgrammaticSkin");
}
Upvotes: 3
Reputation: 39408
You should be able to remove the border on a button by creating a button skin.
Once you have that skin, you can use the ToggleButtonBar's buttonStyleName style to modify the styling of the buttons in the bar. Also check out firstbuttonStyleName and lastButtonStyleName.
Upvotes: 1