flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Burrows <subscripti...@leeburrows.com>
Subject Re: Flex mobile air build- Scrollbar issue
Date Fri, 04 Apr 2014 15:27:43 GMT
actually, i dont think that will work (i didnt notice it was for a 
desktop app)

mobile scroller only shows scrollbar when scrolling is underway - you'll 
need to use the desktop skin or subclass the mobile version and adapt it.


On 04/04/2014 16:20, Lee Burrows 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


-- 
Lee Burrows
ActionScripter


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message