Set width for spacer : Spacer « 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 » SpacerScreenshots 
Set width for spacer
Set width for spacer
          
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:HBox>
        <mx:Button label="First"/>
        <mx:Spacer width="40"/>
        <mx:Button label="Second"/>
        <mx:Button label="Third"/>
    </mx:HBox>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Use Spacer to push Button control to the rightUse Spacer to push Button control to the right
2.Use a percentage-based Spacer control to push the Button control to the rightUse a percentage-based Spacer control to push the Button control to the right
w___w__w___.__j___a_va___2s__._co_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.