A code example might help us see what you're attempting to do.

Keep in mind that:
1) parents give size to their children
2) if you assign a percentHeight to a child, the parent will not assign
less than the measuredHeight of the child unless you set minHeight to a
smaller number.  Same is true for width.

-Alex

On 3/10/14 11:41 AM, "leejk" <[email protected]> wrote:

>Hello,
>
>I am trying to create a custom component in AS that has a Scroller
>component. In my updateDisplayList override method, I am expecting to use
>the unscaledHeight property to set the height of the scroller component,
>so
>that it's scroll bars appear. The problem is that unscaledHeight is being
>returned as the actual height of the component, not what the parent says
>it
>can be based on available space in the parent's layout. What's more
>strange
>is that on the first call to updateDisplayList in the custom component, it
>reports that unscaledHeight is equal to 615, which is the parent view's
>total height not excluding the actionbar. Shouldn't it be excluding the
>actionbar?
>
>thx
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Problem-With-unscaledHeight
>-tp5369.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to