Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28152

List does not scroll all items when horizonalAlign is not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Mobile: List
    • None
    • Affected OS(s): Google Android
      Language Found: English

    Description

      Steps to reproduce:

      Create a simple list with a custom VerticalLayout:

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" >

      <s:List height="100%" width="100%" id="itemList">
      <s:itemRenderer>
      <fx:Component>
      <s:IconItemRenderer labelField="imageName" messageField="imageDesc"/>
      </fx:Component>
      </s:itemRenderer>
      <s:layout>
      <s:VerticalLayout gap="100" />
      </s:layout>
      <s:dataProvider>
      <s:ArrayList>
      <fx:Object imageDesc="Chrysanthemum" imageName="Chrysanthemum" />
      <fx:Object imageDesc="Desert" imageName="Desert" />
      <fx:Object imageDesc="1" imageName="1" />
      <fx:Object imageDesc="2" imageName="2" />
      <fx:Object imageDesc="3" imageName="3" />
      </s:ArrayList>
      </s:dataProvider>
      </s:List>

      </s:Application>

      2. Run the code on an Android device
      3. Rotate to landscape orientation
      4. Do a large throw to scroll down

      Actual Results:
      The first large throw doesn't go to the end of the List

      (This appears to work fine in ADL, but fails on an Android device)

      Expected Results:
      The first large throw should scroll to the bottom of the List

      Workaround (if any):

      use horizontalAlign="justify" and this works fine, not sure why that property has to be set in order to be able to scroll all items

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: