carlosrovira commented on issue #801: jewel: fix backward grid layouts for 
desktop & widescreen
URL: https://github.com/apache/royale-asjs/pull/801#issuecomment-611997586
 
 
   Hi Brian,
   
   was checking about moving ResponsiveSizes class that holds all responsive 
constants to JewelTheme and is not a solution.
   
   While a theme can have AS3 Views (as LabelViewBead.mxml example in that 
library), and that has sense since you can then wire it though CSS without make 
Jewel has any reference to that View Class, for AS constant files doesn't has 
sense, since you need to refer to it from code. So that defeats the target.
   
   So maybe the only solution to make it as configurable as possible from user 
perspective could be use "js-define" [1] variables, so users can configure it 
when building the App.
   
   Thoughts are welcome. This is not priority, so we can think more about it.
   
   [1] 
https://apache.github.io/royale-docs/compiler/compiler-options.html#js-define

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


With regards,
Apache Git Services

Reply via email to