FLASH组件中List/ComboBox/DataGrid文本样式设置
在FLASH中我们可以使用setStyle来设置组件的样式..
可对于像List/ComboBox/DataGrid这类数据显示类的组件...
使用
setStyle("textFormat",textFormat)并不会设置其中的数据区域的文本样式..list.setRendererStyle("textFormat",new TextFormat("宋体",14,0xFF6600));import fl.managers.StyleManager;StyleManager.setStyle("textFormat",new TextFormat("宋体",12,0x000000));