PDA

View Full Version : Icons summary Ext.Net 7.0 Classic



lu7jm
Jun 19, 2020, 11:59 PM
I try using the icons on different controls and they are not displayed, could you show an example for the version Ext.Net 7.0 Classic?

fabricio.murta
Jun 20, 2020, 1:53 AM
Hello @lu7jm!

I see that you (also) missed the icons in Ext.NET 7. This is actually a known issue, logged in github (https://github.com/extnet/Ext.NET/issues/1696) and we'll definitely make it work until final release is out.

But assuming you are using one of the "newer" themes (that is, Graphite, Triton, or Material), you'd probably prefer not icons, but rather glyphs that should mix seamlessly with the theme's layout.

The icons package from Ext.NET 5 back are likely to be ported in to Ext.NET 7, but they are not really meant to these new themes.

So, you may want to try setting a component (that takes an Icon) with something like iconCls="x-fa fa-home".

To get a list of icons, you can refer to the font awesome's cheatsheet (https://fontawesome.com/cheatsheet/free). You always have to set the x-fa as a prefix to select the font awesome set to that icon.

Hope this helps!