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

Add the default item renderers to the spark manifest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Spark: Group
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      There will be a new default item renderer for mobile use and it will be added to a manifest file so it can be declared in MXML. This way it is easy for developers to tweak properties on that item renderer without having to create a whole new class, for example:

      <s:List id="testCaseList" labelField="name" ...>
      <s:itemRenderer>
      <fx:Component>
      <m:IconItemRenderer iconWidth="40" iconHeight="40" />
      </fx:Component>
      </s:itemRenderer>
      </s:List>

      Similarly the current default item renderers (DefaultItemRenderer and DefaultComplexItemRenderer) should be added to the spark manifest so developers can make slight tweaks on those renderers as well. For example if someone wanted to use (the nicely optimized) DefaultItemRenderer but change the width and height slightly.

      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: