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…]
Tagged as:
Gumbo,
horizontalAlign,
layout
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…]
Tagged as:
Gumbo,
horizontalAlign
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…]
Tagged as:
horizontalAlign
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…]
Tagged as:
horizontalAlign
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…]
Tagged as:
horizontalAlign
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…]
Tagged as:
horizontalAlign,
tabOffset
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…]
Tagged as:
horizontalAlign