On Tue, Dec 30, 2008 at 12:05 PM, arieljake <[email protected]> wrote:
> I have been reading for hours on the net about this issue..anyone see
> why this is not working right as a list item renderer? The Text
> controls are not sizing right, their height is not growing as
> expected. The title only shows one line, the announcement never shows
> up. I have variableRowHeight set to true on the list component.
>
[snip]
> <mx:Text id="title" width="{this.width}" fontWeight="bold" />
>
> <mx:Text id="announcement" width="{this.width}" />
>
> </mx:VBox>
Binding to the width of your parent is generally not a good strategy.
You don't even need to do it in a VBox. You can simply set width to
100%.
Manish
--
http://manishjethani.com