You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/16 07:01:38 UTC

[GitHub] [royale-asjs] aharui edited a comment on issue #661: ColorPicker is not working

aharui edited a comment on issue #661: ColorPicker is not working
URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-575013093
 
 
   A simple way is:
   
   ```
               public function changeEvt(event:ColorPickerEvent):void 
               {
                   purchaseRequColor.text = event.currentTarget.selectedItem;
                   //purchaseRequColor.setStyle("color", purchaseColor.selectedColor);
                   purchaseRequColor.setStyle("contentBackgroundColor", purchaseColor.selectedColor);                
               }
   ```
   
   I commented out setting the color otherwise the font would match the background and you wouldn't see anything

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services