在AS3中设置ComboBox组件的字体大小
import flash.text.TextFormat;
var mytextformat:TextFormat=new TextFormat();
mytextformat.size=14;
mycomboBox.textField.setStyle("textFormat",mytextformat);
mycomboBox.dropdown.setRendererStyle("textFormat",mytextformat);
web开发学习。好记性不如烂笔头。每天进步一点点!
import flash.text.TextFormat;
var mytextformat:TextFormat=new TextFormat();
mytextformat.size=14;
mycomboBox.textField.setStyle("textFormat",mytextformat);
mycomboBox.dropdown.setRendererStyle("textFormat",mytextformat);