I also tried using resizeToContent which is great, but it still wouldn't allow the viewstack to get very short until I put the minHeight in.
Tuesday, July 13, 2010
Scrolling ViewStack Contents
I ran into an interesting issue with a Flex app today as I couldn't constrain the contents of a viewstack properly. I ultimately wanted a scrollbar to appear if it's contents were larger than what the parent would allow. To enable this properly, the children all had height of 100%, the viewstack had a height of 100%, and the key setting was to give a minHeight of 50 or something small to the viewstack itself.