I have a ButtonBar w/ a series of buttons that will each have a custom label:
- Person's name (fontsize 18)
- Person's address (fontsize 12)
I am using Flex 4 w/ a custom-skinned spark buttonbar.
I've got the following but how do I now change the fontsizes? Do I change this label function or is that somehow controlled in the spark skin?
'
protected function customLabel(item:Object):String {
return item.name+ "\n" + item.address;
}
'