Okay, just gave that a shot and didn't give me the results I was
hoping for.

More simply put, I want the display to appear as it has been being
100x100 but I also want to know what the size would be if I had left
the Box to do auto-sizing. I have used measuredWidth and
measuredHeight before to accomplish this, but apparently in this case
it doesn't work.

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Don't set height, call setActualSize instead.
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt
> Sent: Tuesday, November 27, 2007 9:35 AM
> To: [email protected]
> Subject: [flexcoders] Determine measuredHeight on explicitly defined
> height?
> 
> 
> 
> If I create a Box and set the height 100 pixels and then check the
> measuredHeight it is always 0. I'm trying to figure out how to
> determine the "desired" height on an explicitly defined container. 
> Particularly, I'd like to know when the necessary height is larger
> than the available height (thus creating scrollbars).
> 
> Can someone point out how to accomplish this?
> 
> Thanks
>


Reply via email to