Posts tagged as:

horizontalAlign

In a previous example, “Creating a variable row height item renderer on a ComboBox control in Flex”, we saw how you could create a variable row height item renderer on a Flex MX ComboBox control by setting the variableRowHeight property on the ComboBox control’s dropdown property.

The following example shows how you can create a variable row height Spark DropDownList control in Flex 4 by setting a custom VerticalLayout object and setting the Boolean variableRowHeight property and the horizontalAlign property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can enable word wrapping on a Spark List control in Flex 4 by overriding the default layout with a VerticalLayout object and set its horizontalAlign property to “justify” (instead of the default “contentJustify”).

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can set the horizontal alignment on a Flex Gumbo FxList control 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.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can align tabs within a Flex TabBar control by setting the horizontalAlign style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can align form items horizontally by setting the horizontalAlign style to “left”, “center”, or “right” on the Flex FormItem container.

Full code after the jump.

[click to continue…]

{ 6 comments }

The following example shows how you can align controls in a Flex ControlBar container by setting the horizontalAlign style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can control the horizontal offset of the tabs in a TabNavigator control by setting the tabOffset style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the horizontal alignment of tabs within a TabNavigator container so that the tabs are left, center, or right aligned within the container.

Full code after the jump.

[click to continue…]

{ 5 comments }

Changing a Tile container’s horizontal and vertical alignment

by Peter deHaan August 25, 2007

The following example shows how you can horizontal and vertical alignment in a Tile container using the horizontalAlign and verticalAlign styles respectively.
Full code after the jump.

Read the full article →