Group Buttons : Group « Container « Flex






Group Buttons

Group Buttons
            
<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
     xmlns:s="library://ns.adobe.com/flex/spark">
    
    <s:Group>
        
        <mx:Button id="btn1" label="(1) button" />
        <mx:Button id="btn2" label="(2) button" height="50" />
        <mx:Button id="btn3" label="(3) button" height="30" />
        <mx:Button id="btn4" label="(4) button" />
        
    </s:Group>
    
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Using multiple containers for more complex layouts
2.Using an HGroup inside of a panel to add a margin from edge
3.Use HGroup to layout Label, CheckBoxesUse HGroup to layout Label, CheckBoxes
4.Contain an HGroup (horizontal group) containerContain an HGroup (horizontal group) container
5.Spark HGroup ContainerSpark HGroup Container
6.Three images in an HGroup container.Three images in an HGroup container.
7.Creates a Button control inside the HGroup containerCreates a Button control inside the HGroup container
8.Spark Group Container Row HeightSpark Group Container Row Height
9.Use VGroup containerUse VGroup container
10.Force the VGroup containers to be included in the test script's hierarchyForce the VGroup containers to be included in the test script's hierarchy
11.Color property for a VGroup control is blue.Color property for a VGroup control is blue.
12.Group element add eventGroup element add event
13.Use a Spark Group container with three child controls, where the Group container lays out its children verticallyUse a Spark Group container with three child controls, where the Group container lays out its children vertically
14.Show a Spark Group container that contains a child Image controlShow a Spark Group container that contains a child Image control
15.Add scroll bars to the Spark Group container by wrapping the container in the Scroller componentAdd scroll bars to the Spark Group container by wrapping the container in the Scroller component
16.Make Group container the child of the Scroller componentMake Group container the child of the Scroller component
17.Add element to Group with ActionScriptAdd element to Group with ActionScript
18.Set default vertical alignment of top for HorizontalLayout to align the children of a Group container to container bottomSet default vertical alignment of top for HorizontalLayout to align the children of a Group container to container bottom
19.Group container myGroup is the viewport for this scrollerGroup container myGroup is the viewport for this scroller
20.Controlling layout using view states groupsControlling layout using view states groups
21.Create a Group container with an Button controlCreate a Group container with an Button control
22.A Group container with four Button controls as its children:A Group container with four Button controls as its children:
23.containers Viewport Setcontainers Viewport Set
24.Grouping Graphic objects togetherGrouping Graphic objects together
25.Set rowHeight property to a pixel value large enough for all the childrenSet rowHeight property to a pixel value large enough for all the children