Harmony
  1. Harmony
  2. HARMONY-4694

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor 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)

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Development