Hi,

I just thought I might run this passed the flex engineers.

I see in the code path in BoxLayout, that if there is one child of the
Container, you do not honor includeInLayout.

I think I wasted an hour trying to figure out why my child was still
resizing after I set includeInLayout to false.

I know this might not be an issue for most but, I can for see some
developers like myself wanting this property consistent across the board.
Can you tell me why you didn't for sake of consistency do this?

I have created a framework that is a subclass of Container and basically one
of my components is a Window. Think of it this way, you put a real heavy
duty component in as child one say, just a Tree alone will kill a resize
effect. Not being able to set includeInLayout to false on the one child
kills me and I have to make a hack workaround. BTW, I set the visible to
false on the child but, keep the titleBar.

Anyway, I just thought I would share this.

Peace, Mike

--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to