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

verticalAlign rounds differently than horizontalAlign in spark VerticalLayout/HorizontaLayout

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:

      In VerticalLayout horizontalAlign uses Math.round, but verticalAlign uses Math.floor. These should both round using Math.round.

      VerticalLayout/HorizontalLayout - minor axis alignment - rounds up
      VerticalLayout/HorizontalLayout - major axis alignment - rounds down

      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: