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

VerticalLayout width collapses when switching states in certain cases

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Run the attached code
      2. Click on the rectangle

      Actual Results:
      Rectangle collapses to 1 pixel wide (only stroke is visible)

      Expected Results:
      Rectangle size changes to 107x100

      The bug does not repro if I make either of these changes to the code:

      • Reverse the order of the states so that we start in State2
      • On the <Rect> tag, change width="106" to width.State2="106"

      Workaround (if any):
      Bullet #2 above: when specifying the size of childen in a "managed layout," only use state overrides to specify size. That seems to keep you safe from this...

      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: