Can you post a mini-example?  Are you sure the measure() sets
measuredHeight to 200 every time?  Sometimes on the first call, the
image or TextField can have the wrong height.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giles Roadnight
Sent: Wednesday, February 20, 2008 12:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] measure(), measuredMinWidth and unscaledWidth

 

Hi All

I have a renderer that is showing an image and a textInput in a
tileList. The measure function adds the height of the textField to the
height of the image and the margin to get a value of around 200 pixels.
The minMeasuredHeight and measuredHeight are both set to 200.

When the updateDisplayList function is called the unscaledHeight is less
than this - about 170 so the text field drops off the bottom of the
renderer.

This is when I am adding the first item to the tileList and
variableRowHeight is set to true anyway.

I can't understand why Flex is trying to squach these renderers. Any
ideas?

Thanks

-- 
Giles Roadnight
http://giles.roadnight.name <http://giles.roadnight.name>  

 

Reply via email to