Archive for January 8th, 2008

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’

08
Jan

Changing the label placement for a Flex ButtonBar control

The following example shows how you can change the button’s label placement relative to its icon in a ButtonBar control in Flex by using the getChildAt() method and labelPlacement property.

Full code after the jump.

Continue reading ‘Changing the label placement for a Flex ButtonBar control’