Do you mean like this:

<mx:FormItem label="Fixed Total Charge:"  width="100%">
          <mx:TextInput id="fixedChg"  width="50%" />
        </mx:FormItem>   
        <mx:FormItem label="Per" width="100%">
          <mx:TextInput id="perUnit" />
        </mx:FormItem>     
        <mx:FormItem label="Fixed Per Unit Charge" width="100%">
          <mx:TextInput id="perUnitChg" />
        </mx:FormItem>

Paul.

-----Original Message-----
From: Burak Toker [mailto:[email protected]] 
Sent: Tuesday, October 06, 2009 1:30 PM
To: flex
Subject: Form Item Alignment Problem


I have the following:

 

 
CODE
<mx:FormItem label="Fixed Total Charge:"  width="100%">
                     <mx:TextInput id="fixedChg"  width="50%" />
             </mx:FormItem>   
               
            <mx:FormItem width="100%" direction="horizontal"
horizontalAlign="left">
                <mx:FormItem label="Per">
                      <mx:TextInput id="perUnit" />
                </mx:FormItem>     
                <mx:FormItem label="Fixed Per Unit Charge">
                       <mx:TextInput id="perUnitChg" />
                </mx:FormItem>
            </mx:FormItem> 


This will put "Per" under "Fixed total charge" text input. How can I align
this so that "Per" will be under "Fixed Total Charge" instead of the
textbox?
thanks in advance. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:6123
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to