seismael
seismael

Reputation: 227

flex remove buttons border from toggle button bar

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

Answers (2)

Raul Agrait
Raul Agrait

Reputation: 6018

You should us the following style:

.myButtonStyle
{
    skin: ClassReference("mx.skins.ProgrammaticSkin");
}

Upvotes: 3

JeffryHouser
JeffryHouser

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

Related Questions