I made this form, but as you can see the first column of fields are not properly aligned. I tried to do it with the graphical editor but it just won't do it.
Here is the code :
<mx:TitleWindow
id="SearchTitleWindow"
title="Recherche"
showCloseButton="true"
horizontalAlign="right"
width="627.8656"
height="201" x="267" y="275">
<mx:VBox width="100%" height="116">
<mx:HBox>
<mx:FormItem label="Numéro voie : " width="140.71146" height="21.007908">
<mx:TextInput id="numVoie" width="41.916996" height="21.007908"/>
</mx:FormItem>
<mx:FormItem label="Nature voie : " >
<mx:TextInput id="natVoie" width="100"/>
</mx:FormItem>
<mx:FormItem label="Nom voie* : " >
<mx:TextInput id="nomVoie" width="163.91306" height="21.007908"/>
</mx:FormItem>
</mx:HBox>
<mx:HBox width="597.33203" height="20.98814">
<mx:FormItem label="Complement : " width="599.3083" height="21.007908">
<mx:TextInput id="Complement" width="497.92493" height="21.007908"/>
</mx:FormItem>
</mx:HBox>
<mx:HBox>
<mx:FormItem label="Code postal* : " >
<mx:TextInput id="codePostal" width="101.581024" height="21.996048"/>
</mx:FormItem>
<mx:FormItem label="Commune* : " >
<mx:TextInput id="Commune" width="294.13046" height="21.007908"/>
</mx:FormItem>
</mx:HBox>
<mx:HBox>
<mx:FormItem label="Coordonnées : " >
<mx:TextInput id="coordOne" width="169.01187" height="21.007908"/>
</mx:FormItem>
<mx:FormItem label=" " >
<mx:TextInput id="coordTwo" width="169.40714" height="21.007908"/>
</mx:FormItem>
<mx:Button id="geocoderTourneeSearchBtn"
styleName="button"
width="120"
label="Géocoder"/>
</mx:HBox>
</mx:VBox>
<mx:ControlBar horizontalAlign="right" height="45">
<mx:Button id="cancelTourneeSearchBtn"
styleName="button"
width="200"
label="Annuler"/>
<mx:Button id="searchTourneeSearchBtn"
styleName="button"
width="200"
label="Rechercher"/>
</mx:ControlBar>
</mx:TitleWindow>
The weird height and width parameters have been set by the graphical editor. Any idea how do do it?
Thank you.
PS : I can only use flex SDK 3.5