git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drop down list row count problem


Hi All,

I am trying to adjust the row  count of a DropDownList control so it shows
more rows.

I changed my code from:

var combo:DropDownList = new DropDownList();

to:

var dpl:DropDownList = new DropDownList();
dpl.layout = new VerticalLayout();
dpl.layout["requestedMaxRowCount"] = 12;

This works for changing the max row count as desired.  But the selection
and rollOver colors are no longer good.  The colors only show over the text
in the row and not the entire row as before.

Screen shot:

http://analyticaonline.com/fred/dropdownlist.png

Any help would be greatly appreciated.

Cheers,
Fred