1 Reply Latest reply on Jun 30, 2009 8:56 AM by *Prashant Shelke*

    Arranging form items in horizontal 2 column layout

    Satya Deep

      Hi

      I am new to flex and have a basic question. How can I arrange form items in horizontal 2 column layout. Something like below

       

      Form

      Item1      Item2

      Item3      Item4

      Item5      Item6

      Item7      Item8

      Item9      Item10

        • 1. Re: Arranging form items in horizontal 2 column layout
          *Prashant Shelke* Level 4

          <Form

                  <mx:FormItem id="frmItem1">
                      <mx:HBox >
                          <mx:Label id="txt1" width="75"  text="item1" textAlign="left"  />
                          <mx:Label id="txt2" width="75"  text="item2" textAlign="left"  />

                       </mx:HBox>   
                   </mx:FormItem>


                  <mx:FormItem id="frmItem2">
                      <mx:HBox >
                          <mx:Label id="txt3" width="75"  text="item1" textAlign="left"  />
                          <mx:Label id="txt4" width="75"  text="item2" textAlign="left"  />

                       </mx:HBox>   
                   </mx:FormItem>