d'oh:
<mx:FormItem label="Fixed Total Charge: aaa" paddingLeft="-130" >
does it.
>Ahh I understand now.
>
><mx:Style>
> FormItem {
> labelStyleName: labelStyle;
> }
>
> .labelStyle{
> textAlign: left;
> }
> </mx:Style>
>
> <mx:Form>
> <mx:FormItem label="Fixed Total Charge:" >
> <mx:TextInput id="fixedChg" />
> </mx:FormItem>
> <mx:FormItem label="Per" >
> <mx:TextInput id="perUnit" />
> </mx:FormItem>
> <mx:FormItem label="Fixed Per Unit Charge">
> <mx:TextInput id="perUnitChg" />
> </mx:FormItem>
> </mx:Form>
>
>http://flex.gunua.com/?p=47
>
>Paul.
>
>Not quite. I need to put perUnit and perUnitChg in the same line and
>somewhat align per to the left. When I put a background color, I see the
>FormItem (direction=horizontal) expands 100% but somewhat pushes the perUnit
>to the left.
>
> <mx:FormItem label="Fixed Total Charge:" width="100%">
> <mx:TextInput id="fixedChg" width="50%" />
> </mx:FormItem>
> <mx:FormItem direction="horizontal" width="100%">
> <mx:FormItem label="Per" width="20%" >
> <mx:TextInput id="perUnit" width="20%"/>
> </mx:FormItem>
> <mx:FormItem label="Fixed Per Unit Charge">
> <mx:TextInput id="perUnitChg" width="100%"/>
> </mx:FormItem>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6127
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37