Tag Archives: layout

Creating a tile list using the Spark List control in Flex 4

The following example shows how you can create a simple TileList control in Flex 4 using the Spark List control and using a TileLayout layout with the default complex item renderer to display images.

Full code after the jump.

Continue reading Creating a tile list using the Spark List control in Flex 4

Setting a column count and row count on a TileLayout FxList component in Flex Gumbo

The following example shows how you can set a column count and row count on a Flex Gumbo FxList contrl with a tile layout by setting the columnCount, columnWidth, rowCount, and rowHeight properties on the TileLayout object.

Full code after the jump.

Continue reading Setting a column count and row count on a TileLayout FxList component in Flex Gumbo

Setting the layout direction on an FxList control in Flex Gumbo

The following examples show how you can set the layout direction on a Flex Gumbo FxList control by setting the layout property to a VerticalLayout object (default), HorizontalLayout object, or a TileLayout object.

Full code after the jump.

Continue reading Setting the layout direction on an FxList control in Flex Gumbo

Setting the layout direction on a Spark Panel container in Flex 4

The following example shows how you can set the layout direction on a Flex 4 Spark Panel container by setting the layout property to use a basic/absolute layout (<BasicLayout> – default), vertical layout (<VerticalLayout>), or horizontal layout (<HorizontalLayout>).

Full code after the jump.

Continue reading Setting the layout direction on a Spark Panel container in Flex 4