Tag Archives: popUpWidthMatchesAnchorWidth

Setting the width of the dropdown menu on a Spark DropDownList control in Flex 4

In a previous example, “Setting the width of the dropdown menu on a ComboBox control in Flex”, we saw how you could set the width of the dropdown menu on a Flex MX ComboBox control by setting the dropdownWidth property.

The following example shows how you can change the width of the Spark DropDownList control’s pop up menu so the pop up menu width matches the contents rather than the DropDownMenu button control’s width by setting the Boolean popUpWidthMatchesAnchorWidth property.

Continue reading Setting the width of the dropdown menu on a Spark DropDownList control in Flex 4