Category Archives: VerticalLayout

Setting the horizontal alignment on a Spark List control in Flex 4

The following example shows how you can set the horizontal alignment on a Spark List control in Flex 4 with a vertical layout by setting the horizontalAlign property on the VerticalLayout object to one of the static constants in the mx.layout.HorizontalAlign class.

Continue reading Setting the horizontal alignment on a Spark List control in Flex 4

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