Create HRule and VRule controls using and : HRule « Components « Flex






Create HRule and VRule controls using and

Create HRule and VRule controls using <mx:HRule> and <mx:VRule>
       

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:VBox>
        <mx:Label text="Above" />
        <mx:HRule />
        <mx:Label text="Below" />
    </mx:VBox>
    <mx:HBox>
        <mx:Label text="Left" />
        <mx:VRule />
        <mx:Label text="Right" />
    </mx:HBox>
</mx:Application>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Specify line width, stroke color, and shadow color for HRule and VRule controlsSpecify line width, stroke color, and shadow color for HRule and VRule controls
2.Use HRule to divide controlsUse HRule to divide controls
3.Map some HRules and VRules to constraint rows and columnsMap some HRules and VRules to constraint rows and columns
4.HRule stroke colorHRule stroke color
5.HRule width is binded to another controlHRule width is binded to another control
6.Use HRule for FormUse HRule for Form
7.Rule PropertiesRule Properties