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

Using PaddingLeft in conjunction with percentWidth causes improper calculations.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.0 (Release)
    • None
    • MXML Components
    • None
    • Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      SDK 4.0.0 b 14159

      Steps to reproduce:

      Create a VBox, make it 100%/100% – Give it a background color
      Add paddingLeft = 10
      Add a Panel into the VBox, make it 100%,100% it will draw 10 pixels past the right end of the background color.

      Actual Results:
      Improperly calculates the percentage by forgetting to compensate for the padding

      Expected Results:
      To size to the parent less the padding calculations

      Workaround (if any):
      Manually calc the size

      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: