On 7/24/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:

> Here is a scrrenshot of the bug right before the effectComplete event is 
> called. THis is right after the tween has closed the tasklist component.

Okay, if you look into the ResizeInstance.as file, you'll see why this
is happening. The effect sets both the width and height of the
component explicitly during the tween. When the effect finishes, it
restores the percentWidth and percentHeight values.

So maybe you could try listening for the TaskList's "resize" event and
reset the percentWidth in the handler? This way the percent value will
be constantly applied to the component and it'll be as wide as it
should be.

I'm thinking we should be resetting the percent width/height in the
Container class itself, when the container gets or loses a scrollbar.
Hmm.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcomponents/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to