Export to GitHub

mad-components - issue #46

UIList have a litter bug when custom renderer components


Posted on May 20, 2013 by Happy Bear

What steps will reproduce the problem? Custom list render with a image, the image source is a displayobject not a string, like: image:String = '<image width="'+w+'" height="'+h+'" scale="true" id="thumbImg"></image>', listData:XML = <list id="idList" autoResize="false"> <vertical> {new XML(image)} <label id="labelPage"/> </vertical> </list>;

What is the expected output? What do you see instead? It will en-count a error, no image showed.

What version of the product are you using? On what operating system? I do not know where to get the version, but I download it from svn at 5/17/2013

Please provide any additional information below. This bug can be fixed by modify only one line in UIList: change line 798: var value:String = record[id]; to: var value:* = record[id];

author is from smlme.com

Status: New

Labels:
Type-Defect Priority-Medium