A ControlBar with a Spacer : ControlBar « Components « Flex






A ControlBar with a Spacer

         
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" backgroundColor="#cccccc">
  <mx:Panel title="A ControlBar with a Spacer" width="300">
    <mx:Label text="Label 1"/>
    <mx:Label text="Label 2"/>
    <mx:Label text="Label 3"/> 
    <mx:ControlBar>
      <mx:Button label="Button 1"/>
      <mx:Spacer width="100%"/>
      <mx:Button label="Button 2"/>
    </mx:ControlBar> 
  </mx:Panel>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Creating a ControlBar containerCreating a ControlBar container
2.Add controls to ControlBar
3.Controlbar with vertical ruleControlbar with vertical rule