I have a canvas with 4 panels inside it. Each panel takes up a quarter
of the canvas. When I populate the panels with modules that are
charts, the modules are not constrained within the outer containers -
the panels, but each chart module fills almost the whole canvas. How
do I get the modules to stay within their parent containers? TIA,

Mic.

<mx:Canvas id="canvas1">
   <mx:Panel label="Test1" width="50%" height="50%" left="0" top="0">
      <mx:ModuleLoader url="{cht1Strng}"/>                       
   </mx:Panel>
   <mx:Panel label="Test2" width="50%" height="50%" right="0" y="0">
      <mx:ModuleLoader url="{chart2String}"/>                   
   </mx:Panel>
   <mx:Panel label="Test3" width="50%" height="50%" bottom="0">
      <mx:ModuleLoader url="{chart3String}"/>                   
   </mx:Panel>
   <mx:Panel label="Test4" width="50%" height="50%" bottom="0"
      right="0">
      <mx:ModuleLoader url="{chart4String}"/>
   </mx:Panel>
</mx:Canvas>

Reply via email to