[]list控件内字体大小设置无效

 
private function updateItem(cell:Box, index:int):void{
var itemImg:Image=cell.getChildByName("itemImg") as Image;
var itemName:Label=cell.getChildByName("itemName") as Label;
itemImg.skin=cell.dataSource.image_url;
itemName.width=Number(itemName.text.length*20);
itemName.height=20;
itemName.fontSize =12;
itemName.text=cell.dataSource.cat_name;
}
fontSize设置无效。  字体等其余的都是默认设置  没有修改 IDE1.7.5
已邀请:

cuixueying

赞同来自:

请提供可运行的示例我们看下,谢谢!

why9

赞同来自:

http://www.udeco.net/h5/index.htm
 
所有list内的字体 都无法生效。
 
 

要回复问题请先

商务合作
商务合作