Hi Piotr,

just committed a huge change that makes the material icons a component
instead a bead as I anticipated some days ago.
I think this approach is better since now the icons can have a place in
mxml where the order is take into account.
For components like containers, span, a, etc... that are containers there's
no problem. An example:

<mdl:CardActions border="true">
                    <mdl:Button colored="true" ripple="true" text="Add to
Calendar"/>
                    <mdl:Spacer/>
                    <mdl:MaterialIconEvent/>
                </mdl:CardActions>

or


<js:Span text="{actor.actorName}">
        <mdl:beads>
            <mdl:ListItemPrimaryContent/>
        </mdl:beads>
        <mdl:MaterialIconPerson listItemIcon="true"/>
    </js:Span>

For normal components that does not support nesting, like a Button I
introduced a property "materialIcon" so you'll end writing:

<mdl:Button fab="true" ripple="true">
                <mdl:materialIcon>
                    <mdl:MaterialIconFace size="48"/>
                </mdl:materialIcon>
            </mdl:Button>

I made the changes in Chips and is working without error. But hope you
could give a final review to check that all is ok

Thanks

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to