This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 75375ed14130b6a27fb4fef23332a7366f2d0038
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue Jan 5 21:15:34 2021 +0200

    Revert "Layout is set by view but measurment may be called earlier"
    
    This reverts commit e7356d983feedf3331cc440912caad4f3dc78960.
---
 .../src/main/royale/spark/components/SkinnableContainer.as       | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
index 42a085f..d4314df 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
@@ -1019,13 +1019,8 @@ public class SkinnableContainer extends 
SkinnableContainerBase implements IConta
      */
     override protected function measure():void
     {
-           if (_layout)
-           {
-               _layout.measure();
-           } else
-           {
-               super.measure();
-           }
+            _layout.measure();
+            
     }
 
     override protected function createChildren():void

Reply via email to