Hi Alex,

perfect, that works. No other config is needed (at least by me), thanks.

btw, don't know if url works ok, I have to set:

<fx:Style source="../../main/resources/mdl-styles.css"/>

since this doesn't work:

<fx:Style source="/main/resources/mdl-styles.css"/>

is this right?

Thanks




2016-11-03 21:22 GMT+01:00 Alex Harui <aha...@adobe.com>:

> Hi Carlos,
>
> <includeFiles> is only for COMPC building libraries.
>
> For applications, I think we want the following to work:
>
>         <fx:Style source="mystyles.css" />
>
> It appears to work for FlexJSStore example.  Or are you looking for some
> other configuration?
>
> Thanks,
> -Alex
>
> On 11/3/16, 12:33 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
>
> >Hi,
> >
> >I'm trying to assign a CSS file without luck.
> >The same rules in a CSS file in framework component library works, but not
> >in the project example
> >I saw that no other example project is using an external CSS file.
> >
> >I used in pom.xml something like this in configuration
> >
> ><includeFiles>
> >                <include-file>
> >                  <name>defaults.css</name>
> >                  <path>../src/main/resources/defaults.css</path>
> >                </include-file>
> >              </includeFiles>
> >
> >I'm looking for  something basic like this:
> >
> >
> >@namespace "library://ns.apache.org/flexjs/basic";
> >
> >Application
> >{
> >padding: 10px;
> >margin: 10px;
> >}
> >
> >
> >this works if I put this in defaults.css in MDL component library but not
> >if I use in mdl-styles.css in MDLExample
> >
> >I can't see this in other example, since seems there's no other example
> >using .css file
> >
> >--
> >Carlos Rovira
> >http://about.me/carlosrovira
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to