0 Replies Latest reply on Jul 24, 2008 7:58 AM by

    List horizontal scroll bar now showing in auto mode

      I have defined an List control in a module with the following attributes:

      <mx:List id="aListBox" dataProvider="{aXML}" selectable="false" verticalScrollPolicy="auto" horizontalScrollPolicy="auto" width="150" height="200" rowHeight="20" columnWidth="150" itemRenderer="CustomerListBoxItem" cornerRadius="5" itemClick="OnItemClick(event)" />

      My custom item renderer is defined as follows:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:HBox width="100%" horizontalScrollPolicy="off" xmlns:mx=" http://www.adobe.com/2006/mxml" paddingLeft="10" paddingBottom="0" paddingTop="0" paddingRight="0" buttonMode="true" >
      <mx:Image id="imgCustIcon" visible="true" horizontalAlign="right" source="{'../../' + data.attribute('ImageUrl').toString()}" />
      <mx:LinkButton id="AppLinkLabel" label="{data.attribute('Text').toString()}" paddingLeft="0" paddingTop="0" paddingBottom="0" fontFamily="Verdana" fontSize="12" fontWeight="normal" rollOverColor="white" selectionColor="white" />

      But whatever the setting I do the Horizontal scroll bars doesn't show up on the list control when the text goes beyond the width of the list control. Anybody know why this would be.. Thanks