Create the horizontal Tile container : Tile « Container « Flex






Create the horizontal Tile container

Create the horizontal Tile container
         

<!--
Code from Flex 4 Documentation "Using Adobe Flex 4".

This user guide is licensed for use under the terms of the Creative Commons Attribution 
Non-Commercial 3.0 License. 

This License allows users to copy, distribute, and transmit the user guide for noncommercial 
purposes only so long as 
  (1) proper attribution to Adobe is given as the owner of the user guide; and 
  (2) any reuse or distribution of the user guide contains a notice that use of the user guide is governed by these terms. 
The best way to provide notice is to include the following link. 
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

-->



<!-- containers\layouts\TileSimple.mxml -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark">
    <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>
</s:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

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