flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Chalupka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34908) Setting includeInLayout to false in a SpriteVisualElement does not invalidate the parent size
Date Thu, 16 Jul 2015 09:20:04 GMT
Benjamin Chalupka created FLEX-34908:
----------------------------------------

             Summary: Setting includeInLayout to false in a SpriteVisualElement does not invalidate
the parent size
                 Key: FLEX-34908
                 URL: https://issues.apache.org/jira/browse/FLEX-34908
             Project: Apache Flex
          Issue Type: Bug
          Components: .Unspecified - Framework
    Affects Versions: Apache Flex 4.13.0
            Reporter: Benjamin Chalupka


Setting includeInLayout to false calls the invalidateParentSizeAndDisplayList method. But
there is a check
if (!includeInLayout)
            return;

That causes the parent size to not being invalidated.

It could be easily fixed by removing the check or moving the invalidation code directly into
the includeInLayout setter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message