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 2019/07/29 05:17:23 UTC

[GitHub] [royale-asjs] angelhdz commented on issue #396: How To Add Jewell Theme

angelhdz commented on issue #396: How To Add Jewell Theme
URL: https://github.com/apache/royale-asjs/issues/396#issuecomment-515847959
 
 
   ### Hello again! I hope you are doing great.
   
   
   I decided to try Royale again... 
   
   I had issues with Jewel themes again, using the databindings. 
   
   If I use the string equivalents, it works:
   
   `				<j:Button text="Primary" emphasis="primary"/>
   `
   
   But when I use the databinding, it doesn't work:
   
   `				<j:Button text="Primary" emphasis="{Button.PRIMARY}"/>
   `
   
   So I decided to download the sample file you sent me and it worked.
   
   Then I realized, in order for it to work, the buttons must be in a separate MXML file.
   
   If I place all the code in the main MXML file, it stops working, no Jewel Themes.
   
   Why is this happening if I have the `<j:beads><js:ContainerDataBinding/></j:beads>` ?
   
   
   
   
   ![07eDr7AY5I](https://user-images.githubusercontent.com/10191085/62023248-ff235c00-b19d-11e9-933b-ca387645fb71.gif)
   
   Thanks!
   

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