Tag Archives: popUp

Displaying icons in a Flex PopUpButton control (Redux)

In a previous example, “Displaying icons in a Flex PopUpButton control”, we saw how you could add icons to a PopUpButton control’s nested menu using an Array data provider.

The following example shows you how you can add icons to a pop up menu in a PopUpButton control in Flex by specifying the iconField property in the PopUpButton control’s nested Menu control using an XML data provider.

Full code after the jump.

Continue reading Displaying icons in a Flex PopUpButton control (Redux)

Adding a horizontal separator to a Flex PopUpButton control’s pop up menu (redux)

In a previous example, “Adding a horizontal separator to a Flex PopUpButton control’s pop up menu”, we saw how you could add a horizontal separator to a PopUpButton control’s pop up menu in Flex by setting the type attribute to “separator” in the menu’s data provider.

The following example shows how you can adjust the amount of empty space around the horizontal separator by setting the Boolean variableRowHeight property.

Full code after the jump.

Continue reading Adding a horizontal separator to a Flex PopUpButton control’s pop up menu (redux)

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