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

Rotated Group with HorizontalLayout and top, bottom, left, right constraints is the wrong size.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: Layout
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in SDK 18510.

      Steps to reproduce:
      1. Compile and run the attached file "HGroupConstraintBug2.mxml"
      Result: notice that the Group is rendered as 3 thin lines (see attached Screenshot-with-bottom-constraint.png)

      2. Remove the 'bottom' property from the Group tag
      3. Compile and run again
      Result: the Group now draws as 3 grey rectangles whose bounding box is the same as the green rectangle. (see attached Screenshot-without-bottom-constraint.png)

      Expected Results: the group should render the same with or without the 'bottom' property.

      To see this bug happen in Catalyst
      1. create a new project
      2. go to code view
      3. paste the contents of HGroupConstraintBug2.mxml as the source code for the main app
      4. delete the bottom property of the group
      5. go to Design view, everything should look OK
      6. set bottom constraint on the group
      Actual Result: the group goes to a weird shape
      Expected Result: the group stays looking the same

      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: