D Deleted member 103 Guest Feb 6, 2020 #1 Hi, can you use the B4x-fonts FontAwesome and MaterialIcons in Visual-Studio? If yes, does anyone know how? Thank you in advance
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 Feb 6, 2020 #2 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" ...
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" ...
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #4 It is not enough. You also need to include the font file as a resource. Filippo said: I'll try it right away Click to expand... You should try the correct solution
It is not enough. You also need to include the font file as a resource. Filippo said: I'll try it right away Click to expand... You should try the correct solution
D Deleted member 103 Guest Feb 6, 2020 #5 Erel said: It is not enough. You also need to include the font file as a resource. You should try the correct solution Click to expand... Here is my result with the correct solution and the wrong solution.
Erel said: It is not enough. You also need to include the font file as a resource. You should try the correct solution Click to expand... Here is my result with the correct solution and the wrong solution.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #6 Why is the GPS icon missing? You can put an ImageView above the text field.
D Deleted member 103 Guest Feb 6, 2020 #7 Erel said: Why is the GPS icon missing? You can put an ImageView above the text field. Click to expand... 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.
Erel said: Why is the GPS icon missing? You can put an ImageView above the text field. Click to expand... 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.