CODE
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Form width="100%" height="100%">
<mx:FormItem label="this is a very long text or I don't know what a short text is">
<mx:Label text="1"/>
</mx:FormItem>
<mx:FormItem label="this is a short one">
<mx:Label text="1"/>
</mx:FormItem>
</mx:Form>
</mx:Application>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Form width="100%" height="100%">
<mx:FormItem label="this is a very long text or I don't know what a short text is">
<mx:Label text="1"/>
</mx:FormItem>
<mx:FormItem label="this is a short one">
<mx:Label text="1"/>
</mx:FormItem>
</mx:Form>
</mx:Application>
Je voudrais que les textes dans le formulaire (les labels des FormItems) soient alignés à gauche plutot qu'à droite. Comment faire ?
Note : textAlign ne fonctionne pas.
Merci.
ArA.