[flexcoders] How to restore automatic height calculation (after an explicit value was set)

2007-12-05 Thread Cosma
Hi flexcoders out there, I'm facing a simple problem. In Flex, containers such as Panel usually layout themself looking at their children(automatically choosing an appropriate width and height). Is there any way to restore this behaviour after setting an explicit height in ActionScript? Example:

Re: [flexcoders] How to restore automatic height calculation (after an explicit value was set)

2007-12-05 Thread Daniel Freiman
To set the height of a component without setting the explicitHeight use setActualSize() or to reset the explicitHeight, set it equal to NaN. - Dan Freiman On Dec 5, 2007 11:38 AM, Cosma [EMAIL PROTECTED] wrote: Hi flexcoders out there, I'm facing a simple problem. In Flex, containers such