Re: drop down list row count problem

2018-02-23 Thread Fred Brunton
Hi Olaf and others, Yes, that's a big help. With CustomItemRenderer now rollover and selected color looks good, thanks! What other properties do I need to set to keep same look. E.g. . No gap between selected color and rollover color. Padding. Row height...? If you know that would be great.

Re: drop down list row count problem

2018-02-23 Thread Olaf Krueger
Hi Fred, try to specify a custom ItemRenderer[1] which sets the width e.g. to "100%" and pass it to your DDL [2]. Hope this helps, Olaf [1] CustomItemRenderer http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark"

drop down list row count problem

2018-02-23 Thread Fred Brunton
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 wo