| Flex 2 Developer's Guide >
Building User Interfaces for Flex Applications > Using Navigator Containers > ViewStack navigator container > Sizing the children of a ViewStack container |
|||
The default width and height of a ViewStack container is the width and height of the first child. A ViewStack container does not change size every time you change the active child.
You can use the following techniques to control the size of a ViewStack container so that it displays all the components inside its children:
width and height properties for all children to the same fixed values.width and height properties for all children to the same fixed values.width and height properties for the ViewStack container to a fixed or percentage-based value.The technique that you use is based on your application and the content of your ViewStack container.
Flex 2.01