Are you trying to use a List with a mobile skin in Desktop ?

Maurice 

-----Message d'origine-----
De : Saju Thankathurai [mailto:[email protected]] 
Envoyé : vendredi 4 avril 2014 17:28
À : [email protected]
Objet : Re: Flex mobile air build- Scrollbar issue

Hi Lee,

Tried setting verticalScrollPolicy in List.. But still i am not getting a 
scroll bar on right side. I have to mouse click and drag up/down to move the 
list..

<s:Scroller width="100%" height="100%" pageScrollingEnabled="true">

  <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"
verticalScrollPolicy="on">
  <s:itemRenderer>
  <fx:Component>
<s:IconItemRenderer label="{data.firstName} {data.lastName}"
messageField="city"/>
  </fx:Component>
  </s:itemRenderer>
  </s:List>
  </s:VGroup>
  </s:Scroller>


On Fri, Apr 4, 2014 at 8:50 PM, Lee Burrows <[email protected]>wrote:

> 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
>
>


-- 

Regards


Saju Thankathurai,
Ph:+91-9449161313

*"We **cannot do great things on this Earth, only small things with great
love"*
*-Mother Teresa (1910-1997)*

Reply via email to