i answer myself: in case someone else needs it

the way to do it is using styles:


<mx:Style>        .leftAligned        {            textAlign:"left";        }   
 </mx:Style>

 <mx:Form width="100%" >           <mx:FormItem width="100%" label="hello" 
labelStyleName="leftAligned">               <mx:TextInput width="100%">         
      </mx:TextInput>           </mx:FormItem>           <mx:FormItem 
width="100%" label="bye bye bye">               <mx:TextInput width="100%">     
          </mx:TextInput>           </mx:FormItem>              </mx:Form>

and it works perfectly! :)


----- Mensaje original ----
De: David Pariente <[EMAIL PROTECTED]>
Para: flexcoders <[email protected]>
Enviado: martes, 10 de junio, 2008 10:47:59
Asunto: [flexcoders] form label text align


Hello all,

Is there a way to align the text labels in form elements to the left??
by default, all of them align to the right, i like it, but seems my client does 
not :(

I have lots of forms and i spent lot of time looking for a property that does 
so...but seems i can't find or missed something... and not even sure it can be 
done :(

thnx a lot

________________________________

Enviado desde Correo Yahoo!
La bandeja de entrada más inteligente.
     


      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

Reply via email to