--- In [email protected], "lelander" <[EMAIL PROTECTED]> wrote:
>
> Hi Amy,
> Thanks for sticking with me. Here is my item renderer code:
>
> =========
> <?xml version="1.0" encoding="utf-8"?>
> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
> horizontalScrollPolicy="off"
> verticalScrollPolicy="off"
> height="250" width="100">
>
> <mx:Image source="assets/{data.product_image}"
> width="100" verticalAlign="bottom"/>
>
> </mx:HBox>
> ==========
I see you're hard-coding the width and height of your itemrenderer.
Is that sufficiently large to adequately display the largest image in
the data set?
If so, it might be that something has gone wonky with the way the
list is measuring your component (lists often adjust this depending
on the size constraints you've used). You may have to override
measure() and reaffirm to the List that this is the size you actually
do want.
This will look something like:
override protected function measure():void{
super.measure();
measuredWidth=this.getExplicitOrMeasuredWidth
();
measuredHeight=this.getExplicitOrMeasuredHeight();
}
HTH;
Amy