4 Replies Latest reply on Mar 7, 2011 6:34 PM by saisri2k2

    Important: Alignment problem inside Addchild tag

    MuskeeterAkshay

      Hi,
      I have a quick question and appreciate your view here
      Inside a state I am adding child as below

       

      <mx:AddChild relativeTo="{attributeForm}" position="firstChild"  >

      <mx:FormItem label="y" horizontalAlign="right">

      <mx:TextInput name="y" id="pointY"  width="30" />

      </mx:FormItem>

      </mx:AddChild>

      <mx:AddChild relativeTo="{attributeForm}" position="firstChild" >

      <mx:FormItem label="x" horizontalAlign="left">

      <mx:TextInput id="pointX" t width="30" "/>

      </mx:FormItem>

      </mx:AddChild>

       

      Problem: even if I am using horizontal align they are not align to each other and they are coming one below another. Any prompt suggestion on how may I align them horizontally?

       

      Thanks

      Akshay