Hi all,

i have a problem to set the width of my itemrenderer to 100% in a horizontal
list.
i want to show one item per slide. It drives me crazy. do you have any
ideas?
thx for help.

        <s:List width="100%" id="ltest" top="0" verticalScrollPolicy="off"
                        itemRenderer="views.renderer.TestRenderer" 
useVirtualLayout="false" >
                <s:layout>  
                        <s:HorizontalLayout  gap="1" requestedColumnCount="-1"
requestedMinColumnCount="-1"
                                                                 
variableColumnWidth="true"  requestedMaxColumnCount="-1" />  
                </s:layout>  
        </s:List>



<?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"
                                width="100%" height="50">
        
                
        <fx:Script>
                
        </fx:Script>
        <s:Label id="lblTitle"  styleName="textheadline"  />
        
</s:ItemRenderer>






--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/100-width-for-an-ItemRenderer-in-a-list-with-a-horizontal-layout-tp10735.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to