Use Tile control's tileWidth to specify the width of the tiles : Tile « Container « Flex






Use Tile control's tileWidth to specify the width of the tiles

Use Tile control's tileWidth to specify the width of the tiles
         
<?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" tileWidth="100">
        <mx:TextInput id="q" text="1" height="50" width="100%" />
        <mx:TextInput id="w" text="2" height="50" width="100%" />
        <mx:TextInput id="e" text="3" height="50" width="100%" />
        <mx:TextInput id="r" text="4" height="50" width="100%" />
        <mx:TextInput id="t" text="5" height="50" width="100%" />
    </mx:Tile>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Create horizontal Tile containerCreate horizontal Tile container
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