yishayw commented on issue #1021:
URL: https://github.com/apache/royale-asjs/issues/1021#issuecomment-752397020


   > It looks like in SparkLayoutBead
   > 
   > ```
   >    if ((!isNaN(target.percentWidth)) || (!isNaN(target.percentHeight)))
   >            if (!sawSizeChanged)
   >                    return false;
   > ```
   > 
   > Kicks in preventing proper layout from happening.
   
   That's not the issue. The issue is that in 
org.apache.royale.core.LayoutBase.childResizeHandler() 
host.isHeightSizedToContent() returns true, which prevents performLayout() from 
happening. 
   
   Woraround is to use top=0, bottom=0 instead of height=100% (which seems 
inconsistent).
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to