Making use of the Grid container : Button « 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 » ButtonScreenshots 
Making use of the Grid container
Making use of the Grid container
    

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Grid>
        <mx:GridRow>
            <mx:GridItem>
                <mx:Button label="A" />
            </mx:GridItem>
            <mx:GridItem>
                <mx:Button label="B" />
            </mx:GridItem>
            <mx:GridItem>
                <mx:Button label="C" />
            </mx:GridItem>
        </mx:GridRow>
        <mx:GridRow>
            <mx:GridItem colSpan="3">
                <mx:Button label="STOP" width="100%" />
            </mx:GridItem>
        </mx:GridRow>
    </mx:Grid>
</mx:Application>

   
    
    
    
  
Related examples in the same category
1.Set Button iconSet Button icon
2.Handle Button click eventHandle Button click event
3.Set Button Label and Font sizeSet Button Label and Font size
4.Custom Button StyleCustom Button Style
5.Call your method in Button click eventCall your method in Button click event
6.Use CSS to set Button fade effectUse CSS to set Button fade effect
7.Change Button labelChange Button label
8.Remove a button from the application when the user presses itRemove a button from the application when the user presses it
w___w__w.___j_a___va_2_s.___c__om__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.