Creating a ControlBar container : ControlBar « Components « Flex






Creating a ControlBar container

Creating a ControlBar container
         
<?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:HBox width="250" height="200"></mx:HBox>
        <mx:ControlBar width="250">
            <mx:Label text="Quantity" />
            <mx:NumericStepper />
            <mx:Spacer width="100%" />
            <mx:Button label="Add to Cart" />
        </mx:ControlBar>
    </mx:Panel>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Add controls to ControlBar
2.Controlbar with vertical ruleControlbar with vertical rule
3.A ControlBar with a Spacer