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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: