Set font weight and size for Label : Label Style « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » Label StyleScreenshots 
Set font weight and size for Label
Set font weight and size for Label
           

    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Panel title="My Application" paddingTop="10"
            paddingBottom="10" paddingLeft="10" paddingRight="10">
            <mx:Label text="Hello World!" fontWeight="bold"
                fontSize="24" />
        </mx:Panel>
    </mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Apply style to LabelApply style to Label
2.Enable data labels on the columns by setting the value of the labelPosition style property to insideEnable data labels on the columns by setting the value of the labelPosition style property to inside
3.Label style
4.Set style name for LabelSet style name for Label
5.Set Text, font weight and font size for LabelSet Text, font weight and font size for Label
6.The following example embeds a font and rotates the data labels 45 degrees:The following example embeds a font and rotates the data labels 45 degrees:
7.Overwrite Label font size with attribute
8.Name appears in the DataTip in italic font before the label dataName appears in the DataTip in italic font before the label data
w___w___w_.ja__v__a__2s___.___co___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.