combobox组件 字体设置

var comicSansTF:TextFormat = new TextFormat();
comicSansTF.font = "黑体";
x_cb.textField.setStyle("textFormat", comicSansTF);
x_cb.dropdown.setRendererStyle("textFormat", comicSansTF);

posted @ 2011-02-17 17:37  as爱好者  阅读(435)  评论(0编辑  收藏  举报