Archive for September 5th, 2007

05
Sep

Creating fixed width buttons in a Flex ButtonBar component

The following example shows how you can create fixed width buttons in a Flex ButtonBar component by setting the buttonWidth style. To revert back to variable width buttons, simply set the buttonWidth style to NaN (not a number).

Full code after the jump.

Continue reading ‘Creating fixed width buttons in a Flex ButtonBar component’

05
Sep

Setting a Flex tool tip’s maximum width

The following example shows how you can use the ToolTip.maxWidth property in Flex to control the maximum width of a tool tip.

Full code after the jump.

Continue reading ‘Setting a Flex tool tip’s maximum width’