try setting verticalScrollPolicy on the list, not the scroller

On 04/04/2014 16:07, Saju Thankathurai wrote:
Hi

I have a <s:List> control in my Flex mobile application. In mobile the
scrolling is working fine.

I made a release build of my Flex mobile project in to *air* installer
file. In desktop, after installing the file, i could not see the vertical
scrollbar. How to enable that? I need a normal scroll bar to be visible so
that users can use the scrollbar to view the data in list.

Below is my code snippet

<s:Scroller width="100%" height="100%" pageScrollingEnabled="true"
  verticalScrollPolicy="on">
  <s:VGroup width="100%" height="100%" paddingTop="10" paddingRight="20"
paddingLeft="20" paddingBottom="10">

<s:List id="myList" left="0" right="0" top="0" bottom="0"
change="applyTransition()" width="100%" height="100%"
  dataProvider="{data}" borderVisible="true" styleName="myStyle">
  <s:itemRenderer>
  <fx:Component>
<s:IconItemRenderer label="{data.firstName} {data.lastName}"
messageField="city"/>
  </fx:Component>
  </s:itemRenderer>
  </s:List>
  </s:VGroup>
  </s:Scroller>






--
Lee Burrows
ActionScripter

Reply via email to