I have noticed two differences between spark and mx forms which are causing me some problems. It seems by default the mx forms are arranged to the label is above the form input item. In Spark they are arranged next to each other. Also the label in spark forms are bold by default.
For example MX code could be
<mx:Form width="100%">
<mx:FormItem indicatorGap="0">
<s:Label text="label1"/>
<s:TextInput id="input1" width="180"/>
</mx:FormItem>
</mx:Form>
For Spark it could be
<s:Form>
<s:layout>
<s:FormLayout gap="-10" paddingLeft="-10" paddingRight="-10"/>
</s:layout>
<s:FormItem label="label1">
<s:TextInput id="input1" width="180"/>
</s:FormItem>
</s:Form>
Now my problem is the look of each form.
The spark form's labels are bold. Ideally I want to be able to use a spark form and have it positioned both horizontally and vertically and not have a bold label. Is this possible?
This will remove me having both spark and mx forms in my application.
Alternatively is it possible to make mx forms position horizontally?
Thanks
Following the answer here is an example of a spark form positioned vertically
<s:FormItem>
<s:Label text="label1" fontWeight="bold"/>
<s:TextInput id="input1" />
</s:FormItem>