开发者

Align list items left on a row with huge height

开发者 https://www.devze.com 2023-02-28 17:02 出处:网络
I have a list component filled with text of varying length. I currently have this But I\'m trying to get this

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

精彩评论

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