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

Scroller doesn't recognize content size within nested SkinnableContainers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Spark: Scroller
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run:

      <?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:layout>
      <s:VerticalLayout />
      </s:layout>

      <s:Scroller horizontalScrollPolicy="on" verticalScrollPolicy="on" width="100%" height="100%">
      <s:Group>
      <s:Group width="100%">
      <s:Button width="2000" />
      </s:Group>
      </s:Group>
      </s:Scroller>

      <s:Scroller horizontalScrollPolicy="on" verticalScrollPolicy="on" width="100%" height="100%">
      <s:Group>
      <s:SkinnableContainer width="100%">
      <s:Button width="2000" />
      </s:SkinnableContainer>
      </s:Group>
      </s:Scroller>

      </s:Application>

      2. Resize the application to see what the scrollbars do
      3.

      Actual Results:

      The horizontal scroll bar is enabled as expected in the first Scroller, but doesn't work for the second Scroller.

      Expected Results:

      The two Scrollers should look the same.

      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: