Re: MaterialIcon binding

2021-02-25 Thread Carlos Rovira
Hi David, you need always one binding bead at "mxml file level", so if you add a mxml file to the structure for any subpart and you have binding in the main app file and also in that mxml subpart separated file, you need to add binding beads in both. If a mxml sub part doesn't have binding you don

Re: MaterialIcon binding

2021-02-24 Thread David Slotemaker de Bruine
Hi Carlos, That was it! Great. Thank you. Questions: Does using js:ApplicationDataBinding mean you dont have to use js:ContainerDataBinding in any child containiers? Why are there two different types of "binding" Beads? Wouldn't it be simple with just one type? Do we have documentation outlin

Re: MaterialIcon binding

2021-02-24 Thread Carlos Rovira
Hi David, I thought anyone can paste there, sorry. Anyway, I think there's other sites where you can share code. For example github gist. Anyway following code works ok. Explanation: That mxml is Application, so you need to use "ApplicationDataBinding", sin ce it will affect all that mxml unit. N

Re: MaterialIcon binding

2021-02-23 Thread David Slotemaker de Bruine
Hi Carlos, What user should I use? I can't see on the apache website how to create a user. I have reduced the example file greatly, I will paste it below: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/royale/basic" xmlns:j="library://ns.apache.o

Re: MaterialIcon binding

2021-02-22 Thread Carlos Rovira
Hi, if that works, means icon lib is right and I think is the binding not working I need to see the file. You can to a paste of the file [1] [1] https://paste.apache.org/ El lun, 22 feb 2021 a las 17:55, David Slotemaker de Bruine (< dslotema...@vicensvives.com>) escribió: > Hi Carlos, > > OK! t

Re: MaterialIcon binding

2021-02-22 Thread David Slotemaker de Bruine
Hi Carlos, OK! that worked, using just menu shows the correct icon. What could it be? David On Mon, 22 Feb 2021 at 16:13, Carlos Rovira wrote: > Hi David, > > I mean to add the value of the MENU constant, sin that text is what the > icon needs to be shown > The constant are only for convenienc

Re: MaterialIcon binding

2021-02-22 Thread Carlos Rovira
Hi David, I mean to add the value of the MENU constant, sin that text is what the icon needs to be shown The constant are only for convenience and error checking El lun, 22 feb 2021 a las 14:25, David Slotemaker de Bruine (< dslotema...@vicensvives.com>) escribió: > If I remove the { , ie: > >

Re: MaterialIcon binding

2021-02-22 Thread David Slotemaker de Bruine
If I remove the { , ie: The browser shows the character [ when the menu is hidden. The tool tips also no longer work. Shall I send you a zip version of the project? D On Mon, 22 Feb 2021 at 09:59, Carlos Rovira wrote: > Hi David, > > if you remove the binding and put the string directl

Re: MaterialIcon binding

2021-02-22 Thread Carlos Rovira
Hi David, if you remove the binding and put the string directly it works? If so, the library is ok. So it must be something in the bind and I need you to copy a bit of code you're using since I have no idea El lun, 22 feb 2021 a las 8:53, David Slotemaker de Bruine (< dslotema...@vicensvives.com>

Re: MaterialIcon binding

2021-02-21 Thread David Slotemaker de Bruine
Hi Carlos, I have it at both the Application tag level and the ResponsiveView Level. No dice. I had it like the TDJ example (only at the ResponsiveView Level) and also no dice. I think binding is working because the tool tips still display. I must be missing somthing else, but I dont know what.

Re: MaterialIcon binding

2021-02-20 Thread Carlos Rovira
Hi David, Remember that binding requires to be composed in Royale (PAYG main principle). Do you have this bead at mxml file level? El vie, 19 feb 2021 a las 11:13, David Slotemaker de Bruine (< dslotema...@vicensvives.com>) escribió: > Hi all, > > I am trying to recreate the Tour de Jewel Re

MaterialIcon binding

2021-02-19 Thread David Slotemaker de Bruine
Hi all, I am trying to recreate the Tour de Jewel Responsive Design. I have almost everything working but I am stuck with the following issue: 1)The MaterialIcon components that use binding ( ) to decide their image show blank, but the tool tips still work which seems to say it isn't a problem