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.

Here's what it looks like now.

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

Thanks again and cheers,
Fred

On Fri, Feb 23, 2018 at 10:15 PM, Olaf Krueger <m...@olafkrueger.net> wrote:

> 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
> <?xml version="1.0" encoding="utf-8"?>
> <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009";
>                                 xmlns:s="library://ns.adobe.com/flex/spark
> "
>                                 xmlns:mx="library://ns.adobe.com/flex/mx"
>                                 autoDrawBackground="true" width="100%" >
>         <s:Label text="{data}"/>
> </s:ItemRenderer>
>
> [2]
> dpl.itemRenderer = new ClassFactory(CustomItemRenderer);
>
>
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>

Reply via email to