[]list控件内字体大小设置无效
private function updateItem(cell:Box, index:int):void{fontSize设置无效。 字体等其余的都是默认设置 没有修改 IDE1.7.5
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;
}
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
cuixueying
赞同来自:
why9
赞同来自:
所有list内的字体 都无法生效。