Flex: Displaying more than 5 things at a time in a DropDown (ComboBox)

apache-flex, combobox, drop-down-menu

Solution

Found it: 'rowCount' is the property to change. It defaults to 5.

Problem

I have a ComboBox in Flex with about 20 items. How do I display all of them in a dropdown with no scroll bar? Right now, Flex displays 5 at a time in the dropdown and puts a scrollbar to scroll for more. Here's an example: http://blog.flexexamples.com/2008/07/18/setting-the-dropdown-menu-border-thickness-and-border-color-on-a-combobox-control-in-flex/#more-711 How do I make the dropdown bigger in this example so it shows all 10 items at once?

Original source