PDA

View Full Version : How to use Font Icons, glyphs, in Ext apps



jsakalos
28 Apr 2014, 2:08 PM
You might be interested how to use glyphs in Ext applications.

Learn more here: http://extjs.eu/using-font-icons-in-ext-fontawesome/

scottmartin
28 Apr 2014, 4:09 PM
I started using font icons as well. Nice write up, thanks.

Besides the glyph, you can also call:



iconCls : 'fa fa-check fa-17x fa-green'

jsakalos
28 Apr 2014, 5:10 PM
Yeah, that works too. However, I had to tune css a bit to align the icon on a button. Glyph has by default lower opacity, I don't know why, that also needs to be turned off in some cases.

jsakalos
28 Apr 2014, 5:15 PM
Reader keeps rawData (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.data.reader.Reader-property-rawData), you could possibly access it there