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

Virtualization: Setting rowHeight to zero can cause unexpected behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Spark: DataGroup
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run:

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">

      <s:controlBarContent>
      <s:Button label="1. variableRowHeight=false" click="vl1.variableRowHeight=false" />
      <s:Button label="2. rowHeight=0" click="vl1.rowHeight=0" />
      <s:Button label="3. variableRowHeight=true" click="vl1.variableRowHeight=true" />
      </s:controlBarContent>

      <s:List id="list1" height="100" width="100">
      <s:layout>
      <s:VerticalLayout id="vl1" />
      </s:layout>
      <s:dataProvider>
      <s:ArrayList>
      <fx:String>one</fx:String>
      <fx:String>two</fx:String>
      <fx:String>three</fx:String>
      <fx:String>four</fx:String>
      <fx:String>five</fx:String>
      <fx:String>six</fx:String>
      <fx:String>seven</fx:String>
      </s:ArrayList>
      </s:dataProvider>
      </s:List>

      </s:Application>

      2. Click button 1, 2, 3

      Actual Results:

      First element is not shown.

      Expected Results:

      First element is shown.

      Workaround (if any):

      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: