FontAwesome for Visual Studio ?

D

Deleted member 103

Guest
Hi,

can you use the B4x-fonts FontAwesome and MaterialIcons in Visual-Studio? If yes, does anyone know how?

Thank you in advance
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
FontAwesome and Material Icons are not really B4X fonts. They are standard fonts.

The correct solution is to use B4J.

It is possible to use any font you like with .Net Framework. The syntax can be quite ugly. For example:
B4X:
<TextBox FontFamily="pack://application:,,,/UIShared;component/Resources/#Material Icons" ...
 
D

Deleted member 103

Guest
Thank you very much Erel,
I'll try it right away. :)
 
D

Deleted member 103

Guest
It is not enough. You also need to include the font file as a resource.


You should try the correct solution ;)
Here is my result with the correct solution and the wrong solution. ;)
1581000278300.png
 
D

Deleted member 103

Guest
Why is the GPS icon missing? You can put an ImageView above the text field.
The GPS icon is only visible when my Bluetooth GPS mouse is connected.
It is only visible in the VS application because the application is not yet finished. ;)
 
Top