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


With regards,
Apache Git Services

Reply via email to