1 Reply Latest reply on Oct 8, 2007 4:19 PM by Yukari M

    Constraints Problem

      Code attached below.

      In design view, hpane1 is laid-out OK hpane1 - OK, but hpane-2 is NOT laid-out OK hpane2 - BUG in Design View?

      It appears I must be doing something wrong / misunderstanding the concepts - because when i put buttons in the panes, they do not render correctly either at run time or in the Design view:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" color="#113C94" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#F4E9C3, #FDFBFB]" width="1450.3788" height="757.803">
      <mx:ConstraintRow id="row1" height="100"/>
      <mx:Canvas id="hpane1" left="0" top="0" right="0" bottom="row1:0">
      <mx:Button label="Button h1" id="bh2" top="10" left="10" right="10" bottom="10"/>
      <mx:Canvas id="hpane2" left="0" top="row1:0" right="0" bottom="0">
      <mx:Button label="Button H2" right="10" top="10" left="10" bottom="10" id="bh1"/>