Tag Archive for 'horizontalgap'

11
Oct

Disabling dividers in an HDividedBox container in Flex

The following example shows how you can disable the dividers in a Flex HDividedBox container by using the numDividers property, getDividerAt() method, and setting the visible property.

Full code after the jump.

Continue reading ‘Disabling dividers in an HDividedBox container in Flex’

29
Sep

Setting the horizontal and vertical gaps on a Legend control in Flex

The following example shows how you can set the horizontal and vertical gaps on a Flex Legend control by setting the horizontalGap and verticalGap styles.

Full code after the jump.

Continue reading ‘Setting the horizontal and vertical gaps on a Legend control in Flex’

22
Sep

Setting the padding between children in a DividedBox in Flex

The following example shows how you can adjust the horizontal padding between children in a Flex HDividedBox container by setting the horizontalGap style.

Full code after the jump.

Continue reading ‘Setting the padding between children in a DividedBox in Flex’

18
Sep

Customizing the divider skin on a DividedBox container in Flex

The following example shows how you can customize the divider skin on a Flex HDividedBox or VDividedBox container by setting the dividerSkin style.

Full code after the jump.

Continue reading ‘Customizing the divider skin on a DividedBox container in Flex’

06
Sep

Setting the horizontal gap between an icon and label on a LinkButton control in Flex

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

Full code after the jump.

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

20
Apr

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

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

Full code after the jump.

Continue reading ‘Setting the horizontal spacing between items in a LinkBar control in Flex’

08
Jan

Setting horizontal and vertical gaps between buttons in a Flex ButtonBar control

The following example shows how you can control the horizontal and vertical gaps between buttons in a ButtonBar control in Flex by setting the verticalGap and horizontalGap styles.

Full code after the jump.

Continue reading ‘Setting horizontal and vertical gaps between buttons in a Flex ButtonBar control’

02
Jan

Changing the padding on a Button control in Flex

The following example shows how you can modify the padding between the Button control’s label and icon and the button’s edges by setting the paddingLeft, paddingRight, paddingTop, paddingBottom, and horizontalGap styles.

Full code after the jump.

Continue reading ‘Changing the padding on a Button control in Flex’

29
Dec

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′

02
Nov

Controlling the distance between tabs in a TabBar control using the horizontalGap style

The following example shows how you can control the spacing between tabs in a Flex TabBar control by setting the horizontalGap style.

Full code after the jump.

Continue reading ‘Controlling the distance between tabs in a TabBar control using the horizontalGap style’

25
Aug

Changing a Tile container’s horizontal and vertical gaps

The following example uses two slider controls to adjust the values of the horizontalGap and verticalGap styles.

Full code after the jump.

Continue reading ‘Changing a Tile container’s horizontal and vertical gaps’