[flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-10 Thread Ryan
thanks, but I tried NaN and that doesn't work- throws an error. One hacky solution my co-worker came up with is to use a spacer inside the container and set the spacer's height when necessary. there should really be a way to remove the height property or set it back to auto. Anyone? Adobe?

Re: [flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-10 Thread Michael Schmalle
Hi, This is not right... throwing an error. Can you post the error? The hack your co-worker gave you is definitely unnecessary. Can you post some code that will reproduce what you are trying to achieve? Setting the container's height = NaN will force the container to ditch the last height

[flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-09 Thread Amy
--- In flexcoders@yahoogroups.com, Ryan [EMAIL PROTECTED] wrote: I have the following quandary: I have a container which most of the time resizes to what it's holding. Fine. But sometimes I need it to be an explicit height- so i set the height- also fine. Then I need to set it back to