FormItem font style and weight : FormItem « Components « Flex






FormItem font style and weight

FormItem font style and weight
          


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Panel title="Book" id="book" horizontalScrollPolicy="off" verticalScrollPolicy="off">
        <mx:Form id="bookForm">
            <mx:FormItem label="A" fontWeight="bold" />
            <mx:FormItem label="B" fontStyle="italic" />
        </mx:Form>
    </mx:Panel>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Label for FormItemLabel for FormItem
2.CheckBox FormItemCheckBox FormItem
3.Layout FormItem horizontallyLayout FormItem horizontally
4.FormItem containers take an input control and provide it with a labelFormItem containers take an input control and provide it with a label
5.Creating mandatory FormItemsCreating mandatory FormItems
6.Set the FormItem label color to dark blue and its font size to 20 pixelsSet the FormItem label color to dark blue and its font size to 20 pixels
7.Show the FormItem container definitionsShow the FormItem container definitions