You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Jean Marie Macé (JIRA)" <ji...@apache.org> on 2013/06/04 12:13:19 UTC

[jira] [Created] (FLEX-33582) Scroller and scroll speed regarding first child

Jean Marie Macé created FLEX-33582:
--------------------------------------

             Summary: Scroller and scroll speed regarding first child
                 Key: FLEX-33582
                 URL: https://issues.apache.org/jira/browse/FLEX-33582
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: Scroller
    Affects Versions: Apache Flex 4.9.0
         Environment: Windows 7, flash player 11.7.700.202, Firefox 21
            Reporter: Jean Marie Macé
            Priority: Minor
         Attachments: trash.fxp

When i change the first child of a scroller (Group or VGroup) the scroll speed with mouse wheel change. 

Try running this code (uncomment/comment the Group 'childrenGrp' to see difference): 

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" >
	
	
	<s:Group id="grpContent" width="100%" height="100%" left="200" top="100" bottom="30" right="10">
		<s:Group id="mainGrp" width="100%" height="100%"  >
			<s:Scroller id="scroller" width="100%" bottom="50" top="30" >
				<!--<s:Group id="childrenGrp" width="100%" height="100%" >-->
					<s:VGroup width="100%" height="100%" paddingTop="15" paddingLeft="20" gap="20" paddingRight="10" paddingBottom="10">
						<s:Rect width="100%" height="1200">
							<s:fill>
								<s:SolidColor color="#ff0000"/>
							</s:fill>
						</s:Rect>
					</s:VGroup>
				<!--</s:Group>-->
			</s:Scroller>
		</s:Group>
	</s:Group>
</s:Application>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira