I have the following code to set the button font for a B4xDialog
dialog.ButtonsFont = XUI.CreateFont(File.OpenInput(File.DirAssets,"myfont.ttf"),16)
When I execute this code I get the following error:
Access to the path 'C:\B4x Projects\My Android...
(re: related thread: https://www.b4x.com/android/forum/threads/fontawesome-icons-in-buttons.80993/ )
I had an issue where FontAwesome icons that looked great in Designer:
were not displaying in the actual program:
and what I eventually tracked it down to was a programming...
The MaterialIcons font is handy for creating icon-only buttons. You can do this right in the Designer.
If, however, you want to add an icon to some existing button text (say, a "Save" button with a checkmark before the "Save" text), you can't do this directly in the Designer because the...
I'm working through my apps, replacing icon bitmaps with icon fonts wherever I can (an easy way to support various sizes of icons).
In B4A 8.50, I just noticed that some Material icons are missing - that is, they are available on material.io but not in the font packaged with B4A.
I know that...
I developed a class (compiled in library) that makes use of Typeface.MATERIALICONS, but when I tried using it there was this error:
java.lang.RuntimeException: Font asset not found b4x_materialicons.ttf
I could not find a thread summarizing this problem in this forum for a workout, but the...
i found a nice font but can not select a style from it in the ide.
i have a sub that make a texture but the text width looks different if me compare a tablet with a phone.
my goal is to have the same texture at all devices.
currently one device looks good and at the other the text is cut.
is there a way to use a static font in asset folder or something...