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.
I have been specializing in building web-based applications since 1998, primarily using HTML, Flex, LiveCycle, Java, ColdFusion, and SQL Server. You found yourself here, so hopefully you'll get something good out of it! Enjoy...
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment