Support for Font-Awesome icons (1.20)
If you set: page.UseFontAwesome = true, you can also use the Font Awesome Icon library (634 icons in used version Font Awesome 4.6.3). See http://fontawesome.io for a list of icons.
just add the ones you want in the BuildPage() using page.NeedsIcons.Add("fa fa-expand") or something like that (not on my PC). This has been done to optimize the CSS generation. This is the written in the .needs file so not all FontAwesome icons need to be loaded, only the ones you use.
If you use the icon as Harris describes, you don't need to do the NeedsIcons.Add().
I tried, its for a NavigationBar.topItem… I just can't get it to show, the place-holder is visible as when the mouse pointer hovers it reacts...
This is one of the main and BIGGEST issues we have with ABM… The Demo is in desperate need to be, not updated nor upgraded, to be re-created from scratch.
Too many things have changed, but the demo content has not keep up
Still no go, I can't seem to make it work…
Material icons seem to be more suitable for Mobile versions, but when targeting Desktop as a main viewing device, the FontAwsome e much more suitable...
Still no go, I can't seem to make it work…
Material icons seem to be more suitable for Mobile versions, but when targeting Desktop as a main viewing device, the FontAwsome e much more suitable...
If you haven't solved this problem yet then, please compile your ABM application ONCE in the Debug mode and then see whether your problem is solved or not
You're right.. This works, I hadn't read the docs on the FontAwesome website.
And about newer FontAwesome icons, wouldn't it be possible to inject them via .AddExtraCSSFile and then use them? Or wouldn't that work?