开发者

Align list items left on a row with huge height

I have a list component filled with text of varying length.

I currently have this

Align list items left on a row with huge height

But I'm trying to get this

Align list items left on a row with huge height

And is it possible to manually wrap the row height depending on the size of the text inside the row?开发者_如何学运维

Thanks!


You can create your custom renderer like this:

<mx:Box verticalAlign="top">
    <mx:Label id="text"/>
</mx:Box>
override public function set data(value:Object):void
{
    //fill text from data
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜