Hey guys,

I googled this and can't seem to find where I'm going wrong. I've got a list
with an inline itemRenderer, with variableHeight turned on, but all
non-visible items are losing their height. What I mean is that when you
scroll down, all revealed items having standard list-item height, and when
you scroll back up, the ones that used to be alright are now also too short.
Any ideas where I'm going wrong?

Code below:

<mx:List dataProvider="{ tempNotes }" id="existingNotes" width="100%"
maxHeight="400" variableRowHeight="true">
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:VBox horizontalAlign="left"
horizontalScrollPolicy="off"  width="100%" verticalScrollPolicy="off"
backgroundColor="#eeeeee" verticalGap="2">
                            <mx:Text width="100%" text="{data.text}"
fontSize="9" fontStyle="italic"/>
                            <mx:HBox horizontalGap="10">
                                <mx:Text text="From " fontSize="9"/>
                                <mx:Text fontWeight="bold"
text="{data.userId}" fontSize="9"/>
                                <mx:Text text="11-11-08" fontSize="9"
width="60"/>
                            </mx:HBox>
                        </mx:VBox>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:List>

Cheers,
-J

-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to