I'm trying specifically to use Font Awesome's "expand-alt" icon.
iconCls: 'x-fa fa-expand-alt',
I know I need to add "fas" somewhere in there but all the combinations I've tried aren't working.
Any guidance?
I'm trying specifically to use Font Awesome's "expand-alt" icon.
iconCls: 'x-fa fa-expand-alt',
I know I need to add "fas" somewhere in there but all the combinations I've tried aren't working.
Any guidance?
Hi @pauldugas,
I don't think it's you. I just tried using the expand-alt in ExtJS 7.0.0.156 and it was not showing, expand and expand-arrows-alt both work fine.
-Rudy
search the forums, you'll have to generate a whole new set of icons into a package then use that package.
just search for font-awesome-5 pro and you'll find them.... extjs only has free versions.
Cloud Application Architect
Sencha Specialist / Sencha MVP / Sencha Technical Trainer
ExtJs Developer + Contributor since 0.2.2 - Champion of the per developer license.
https://fontawesome.com/icons?d=gallery&q=expand&m=free
expand-alt appears to be part of the free set
Hi Paul,
are you sure your application has set some kind of prefix (x-fa) ? try it without, thenshould work.fas fa-expand-alt
I agree that is "should" workSadly, doesn't for me.
node_modules/@sencha/ext-font-awesome/sass/src/all.scss looks like it's defining x-fa along with x-fas, x-far and x-fab classes. I see -expand and -expand-arrows-alt in node_modules/@sencha/ext-font-awesome/sass/etc/_icons.scss but not -expand-alt. Looks to me like it was just missed.
I can't get your icon to work either.![]()
Your icon's syntax is here:
https://fontawesome.com/icons/expand-alt?style=solid
But in my stand-alone test (not using ExtJS), it isn't showing up!
Here are the rules for prefixes.
https://fontawesome.com/how-to-use/o...cons/basic-use
Here's a little Fiddle showing what they look like in ExtJS.
https://fiddle.sencha.com/#view/editor&fiddle/32tk
Yes, "fa-expand-alt" is listed as one of the "fas" icons in your fiddle but the corresponding class isn't included in the ext-font-awesome package.