Mega Code Archive

 
Categories / Flex / Components
 

Wrap TextInput in a HBox and put to FormItem

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Form>       <mx:FormItem label="Name">         <mx:HBox>           <mx:TextInput id="firstName" />           <mx:TextInput id="lastName" />         </mx:HBox>       </mx:FormItem>       <mx:FormItem label="Email">         <mx:TextInput id="email" />       </mx:FormItem>       <mx:FormItem label="">         <mx:Button label="Submit" />       </mx:FormItem>     </mx:Form>      </mx:Application>