Create horizontal Tile container : Tile « Container « Flex






Create horizontal Tile container

Create horizontal Tile container
         
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Tile id="myFlow" direction="horizontal" borderStyle="solid"
        paddingTop="10" paddingBottom="10" paddingRight="10" paddingLeft="10"
        verticalGap="15" horizontalGap="10">
        <mx:TextInput id="text1" text="1" height="50" width="75" />
        <mx:TextInput id="text2" text="2" height="50" width="100" />
        <mx:TextInput id="text3" text="3" height="50" width="75" />
        <mx:TextInput id="text4" text="4" height="50" width="75" />
        <mx:TextInput id="text5" text="5" height="50" width="75" />
    </mx:Tile>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Use Tile control's tileWidth to specify the width of the tilesUse Tile control's tileWidth to specify the width of the tiles
2.Retrieve last child index in a Tile, child indices are zero-basedRetrieve last child index in a Tile, child indices are zero-based
3.Get reference to last child in a TileGet reference to last child in a Tile
4.Remove item from TileRemove item from Tile
5.Tile DemoTile Demo
6.A Tile Container with draggable childrenA Tile Container with draggable children
7.Override layout to use TileLayoutOverride layout to use TileLayout
8.Create the horizontal Tile containerCreate the horizontal Tile container
9.Using Tile control's tileWidth property to specify the width of the tilesUsing Tile control's tileWidth property to specify the width of the tiles