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

Panel borderSkin scales incorrectly when created using the Flex component kit for Flash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Flash Integration
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Wasn't sure where to log this, apologies if its in the incorrect place.

      If you use the Panel_borderSkin found in the skinning templates for Flash the Panel will look the incorrect size when scaled in the final application.

      This is because a shadow has been added in Flash as a graphic, which is them included in the measurement. The shadow starts at x -1, which throws the scaling out.

      If a shadow is required it should be added as a filter (as this is then not included in the measurement).

      I have attached an example where I have extended Panel to draw a vertical line at the left and right of its bounds. 3 instances of this extended Panel are attached to the stage each with a different borderSkin applied. The are from top to bottom.

      1. The default skin found in the Flash templates that includes a shadow, which makes the measurement incorrect.

      2. The skin found in the Flash templates where I have removed the shadow, making the measurement correct.

      3. The default Flex Halo skin, with correct measurement.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: