2 Replies Latest reply on Jul 16, 2008 6:31 PM by Sherm Stevens

    Trying to control percentage-based containers

    Sherm Stevens
      I'm trying to control a percentage-based layout with several nested
      containers. Unless I set a fixed size (in pixels) or a minWidth or
      minHeight, my outer panel shrinks to a very small size.

      I understand that parent containers inherit their size from the
      content in their children containers. My challenge is that I'm
      importing a SWF and sizing it to fill its available space (90%).

      Am I missing something? Is there a way to force a container to fill
      whatever available space it fits into (vs. expanding containers based on children)? For example, maximize the application container, then any child containers.

      Code below.