[en] Thanks, Josh. Do I need to add it to "*Classes.as" or to "components-manifest.xml"?
[es] Gracias Josh. ¿tengo que añadirlo a “*Classes.as” o a “components-manifest.xml”? Hiedra De: Josh Tynjala <joshtynj...@bowlerhat.dev> Enviado el: miércoles, 7 de mayo de 2025 17:34 Para: users@royale.apache.org Asunto: Re: FontAwesomeIcon: change faStyle property defaultsto SOLID instead of REGULAR Hi Maria, This is what the Flex and Royale communities call "monkey patching". When you copy the file FontAwesomeIcon.as into your project, it should have the same package structure as it had in the original library. If your source-path contains src, your copy would go into src/org/apache/royale/icons/FontAwesomeIcon.as. Alternatively, if your source-path is src/main/royale, your copy would go into src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as. -- Josh Tynjala Bowler Hat LLC https://bowlerhat.dev/ On Wed, May 7, 2025 at 5:02 AM Maria José Esteve <mjest...@iest.com<mailto:mjest...@iest.com>> wrote: [en] Hello, After the changes made to the SDK, my application has completely changed its appearance ☹ I'm not against it, because I understand the reasons and they seem valid, but I can't go through and change all the FontAwesomeIcon instances just to add the faStyle attribute set to REGULAR. I've thought of a short- and medium-term workaround to avoid having to modify everything: I believe I once read in the mailing lists that I can activate a class from the SDK in my project by placing it in the same path, but I'm not exactly sure what that means... I can copy FontAwesomeIcon.as into a subfolder within my project, but I assume I’ll also need to define the namespace… Could someone explain the steps I need to follow to do this? [es] Hola, Tras las modificaciones realizadas en el SDK mi aplicación ha cambiado totalmente de apariencia ☹ No estoy en contra, porque los motivos los veo correctos, pero no puedo ahora cambiar todos los FontAwesomeIcon para añadirle el atributo faStyle a REGULAR. He pensado en una solución intermedia, a corto y medio plazo, para no tener que modificarlo todo: en alguna ocasión creo haber leído en las listas que puedo hacer activa una clase del SDK en mi proyecto poniéndola en la misma ruta pero esto no sé lo que quiere decir exactamente… Puedo copiar FontAwesomeIcon.as en una subcarpeta, dentro de mi proyecto pero imagino que tendré que indicar el namespace también… ¿alguien puede indicarme los pasos que debo seguir para hacer esto? Gracias. Hiedra