Thank you, but -

--- In [email protected], Alex Harui <aha...@...> wrote:
> What happened when you set columnWidth and rowHeight on the TileLIst?
> 
> 
> On 8/14/10 7:42 AM, "Alexander" <alexander.far...@...> wrote:
> It works ok, but I wonder how to make the items in
> the TileList smaller? Ist there a simple way or do
> I have to introduce a wrapper renderer inbetween?

setting columnWidth and rowHeight doesn't scale the 
items down. It just cuts the items in a strange way.

I've ended up using a wrapper itemRenderer for now:

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"; 
width="100%" height="100%" xmlns:my="*" 
verticalScrollPolicy="off" horizontalScrollPolicy="off">

<mx:Script>
<![CDATA[
override public function set data(xml:Object):void {
    super.data = xml;

    if (xml != null && xml.length() == 1) {
        _user.userid = x...@id;
        _user.avatar = x...@avatar;
        _user.nick = x...@name;
    }
}
]]>
</mx:Script>

<my:User id="_user" scaleX="0.5" scaleY="0.5"/>
</mx:Canvas>



Reply via email to