0 Replies Latest reply on Aug 7, 2006 3:59 PM by Josh Johnson

    Adding Panels to VBox using States

    Josh Johnson
      I have an application where in it's base state it includes a VDividedBox which contains a Panel. The height of the panel is 100%. I then have an additional state (call it dualPanel) which adds a new Panel to the VDividedBox. This panel also has a height of 100%, which I expect would mean the two panels would share equally the available space within the VDividedBox.

      The problem is they don't. The panel that's added via the state change seems to want to occupy 85-90% of the height. If I take the panel out of the state, and insert it as part of the base state of the MXML, it behaves exactly as I'd expect. Has anyone seen any type of similar behaviour to this? Any ideas what's causing it, or how to fix it?