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: Think about a Panel that could resize itself to a fixed size (minimize) and then restore the original value. In the restore phase I'm currently setting the height property to the measuredMinHeight property value, but from this moment onward the height will not reflect the panel contents anymore, as it did by default. Thanks for any hint Cosma