Tag Archives: verticalGap

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 vertical gap between an icon and label on a LinkButton control in Flex

In a previous example, “Setting the horizontal gap between an icon and label on a LinkButton control in Flex”, we saw how you could set the horizontal gap between the icon and label on a Flex LinkButton control by setting the horizontalGap style.

The following example shows how you can set the vertical gap between the icon and label on a Flex LinkButton control by setting the verticalGap style.

Full code after the jump.

Continue reading Setting the vertical gap between an icon and label on a LinkButton control in Flex

Setting the vertical spacing between items in a LinkBar control in Flex

In a previous example, “Setting the horizontal spacing between items in a LinkBar control in Flex”, we saw how to change the horizontal spacing between items in a Flex LinkBar control by setting the horizontalSpacing style.

The following example shows how you can set the vertical spacing between items in a vertical Flex LinkBar control by setting the verticalGap style.

Full code after the jump.

Continue reading Setting the vertical spacing between items in a LinkBar control in Flex

Changing the swatch grid background color for a ColorPicker control in Flex 3

The following example shows how you can set the swatch grid background color on a Flex 3 ColorPicker control by setting the swatchGridBackgroundColor style. You can also see how you can set the horizontalGap, and verticalGap styles using CSS.

Full code after the jump.

Continue reading Changing the swatch grid background color for a ColorPicker control in Flex 3