Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4694

[calsslib][swing][html]Setting attributes for ImageView should be moved from constructor to setPropertiesFromAttributes method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None

    Description

      Attribute setting should be moved from constructor to setPropertiesFromAttributes() because attributes of a View can be updated after view has been created. And no cached attributes will be updated if attribute adjustment is performed in constructor. To solve this problem you just need to move it to setPropertiesFromAttributes() method.
      (Thanks to Alexey A. Ivanov for remarks - the issue description is given from his comment to 4575)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              irlyanov Dmitry Irlyanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: