1 Reply Latest reply on Mar 26, 2007 9:06 AM by peterent

    Alignment of buttons in form

      Hi everybody,
      I am new to flex and a basic doubt. I build a simple login form with user name,password inputs and submit button. Then i added another button to clear the fields in the text input boxes.. and i need these two buttons i a row. Unfortunately i get the clear button in the next line. I would like to know how i can bring it along with the submit button of the form.
      Here is the MXML code that i worte:
      <mx:FormHeading label="Login to HonTop"/>

      <mx:FormItem label="Username">
      <mx:TextInput id="unameText"/>

      <mx:FormItem label="Password">
      <mx:TextInput id="passText"/>

      <mx:Button label="Login" click="submitLogin()"/>

      <mx:Button label="Cancel"/>


      Thanks in advance,
      -- Abdel Raoof Olakara.
      http://olakara.googlepages.com http://olakara.googlepages.com">http://olakara.googlepages.com