Monthly Archives: January 2008

Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights

The following example shows how you can reduce the amount of whitespace around a PopUpButton control’s pop up menu by setting the variableRowHeight property on the menu in Flex.

Full code after the jump.

Continue reading Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights

Adding checkboxes, radiobuttons, and sub-menus to a Flex PopUpButton control’s pop up menu

In a previous example, “Adding a horizontal separator to a Flex PopUpButton control’s pop up menu”, we saw how you can add horizontal separators to a PopUpButton control’s pop up menu by setting the type attribute to “separator”. So, “what other special types are there?”, you may be asking, as it turns out you can create folders with sub-menus, checkboxes, radiobuttons, and even disable item selection.

Continue reading Adding checkboxes, radiobuttons, and sub-menus to a Flex PopUpButton control’s pop up menu