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

RTE in Vertical/Horizontal layout when using default size List with fewer than 5 items

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • Spark: VerticalLayout
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run attached code

      <?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"
      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>

      <s:List>
      <s:ArrayCollection>
      <fx:Array>
      <fx:String>hello</fx:String>
      </fx:Array>
      </s:ArrayCollection>
      </s:List>
      </s:Application>

      Actual Results:

      Error: invalidIndex
      at spark.layouts.supportClasses::LinearLayoutVector/start()
      ...

      Expected Results:
      To work fine

      Workaround (if any):
      Change the minRequestedRowCount of the layout to 0.

      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: