royale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] aharui commented on issue #341: Adding listener for when a bindable style has changed
Date Mon, 12 Nov 2018 07:49:05 GMT
aharui commented on issue #341: Adding listener for when a bindable style has changed
URL: https://github.com/apache/royale-asjs/pull/341#issuecomment-437786664
 
 
   IIRC, the differences are around how to handle the "categories".  The Simple version is
really intended to be closer to what was available in Flex and easily implementable in SWF.
 So "fontWeight" is expecting only "bold" and "normal" and not numbers.  The All version should
handle numbers for fontWeight, and eventually learn all kinds of things like various units
("em", etc).  It doesn't right now because we didn't have time.  You are not obligated to
deal with that now.  Lots of things in Royale are somewhat incomplete and get done when someone
actually needs them.
   
   Some fixes to Simple like handling '-' should work in All.  Hopefully by subclassing, that
will happen.
   
   So, IMO, there really should be a Simple and a more powerful All and I would be careful
about making Simple carry around code just in case it is being used as the base for All.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message