running invalidateDisplayList() will force updateDisplayList to rerun, which should relayout the component as appropriate.

However a component's size is determined by it's parent; so you'll need to run updateDisplayList on the parent of the container you want to change. Depending on the components you're using and how they work, this may or may give you your expected results.


On 6/12/2010 9:21 AM, Marco Catunda wrote:

Is there any way to force re-layout an component?

Some child elements within a tabNavigator change this size and I would like that it re-layout
all children instead of put a scroll bar.

Cheers
--
Marco Catunda




--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

Reply via email to