javeiga-iest opened a new issue #901:
URL: https://github.com/apache/royale-asjs/issues/901


   Hi all,
   
   I have been working with the Jewel Application control.
   
   I have noticed something curious, and it is that when the child (in my case 
a ResponseView control) has the percentWidth or percentHeight property 
assigned, we assign to the application control a fixed width and height 
corresponding to the size of the child ...
   
   This is the code snippet I'm talking about
   
https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Application.as
   
   
![image](https://user-images.githubusercontent.com/55754204/91303245-04d7e080-e7a8-11ea-953c-a1ad26ba0000.png)
   
   Here is an example of the code transpiled to HTML;
   
![image](https://user-images.githubusercontent.com/55754204/91303781-cbec3b80-e7a8-11ea-8eb7-2362facd15ea.png)
   
   The problem is that that size, we are passing through style in a fixed way, 
and it is never updated.
   I don't know if this is being done for any particular reason... i think it 
could be removed.
   
   thx in advance!


----------------------------------------------------------------
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