git.net

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

Re: drop down list row count problem


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/