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

LayoutBase should not have a public property useVirtualLayout

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Layout
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Because this property is public it means that developers can accidently set it directly, even if the layouts target doesn't support virtualization.

      Instead a much cleaner approach would be for LayoutBase to only have a getter.

      In LayoutBase.updateDisplayList(), the layout should set this private property by retrieving the value from its target. It would then subsequently call updateDisplayListVirtual() or updateDisplayListReal().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment