Hello all,

I built my first Flex page the other day. I must say, everything went really smoothly except for one thing. I was trying to style a ToggleButtonBar. I even got the styling code from the Style Explorer app... where it seemed to work just fine. Here's the code:

ToggleButtonBar {
   horizontalGap: -1;
   buttonStyleName: "nhButtonBarButton";
   firstButtonStyleName: "nhFirstLastButtons";
   lastButtonStyleName: "nhFirstLastButtons";
   selectedButtonTextStyleName: "nhSelectedButton";
}
.nhButtonBarButton {
   highlightAlphas: 0, 0;
   fillAlphas: 1, 1, 1, 1;
   fillColors: #ff5f37, #ff5f37, #ffffff, #ffffff;
   borderColor: #ff5f37;
   themeColor: #ff5f37;
}
.nhFirstLastButtons {
        cornerRadius:20;        
}
.nhSelectedButton {     
}

The really weird thing is that the horizontalGap style is taking, and so is the cornerRadius style in the .nhFirstLastButtons class. However, nothing from the .nhButtonBarButton is working!! Eventually, I just gave up, moved on, figured I'd get to it later... well, it's later. Any help?

Thanks!
//Matt Hayes
[EMAIL PROTECTED]



Reply via email to