Hi everyone, is there a way to change the font size on an ABMButton, maybe it's just me and i'm really tired but I don't see any method or property to change the font size, does anyone have any clue on how to do this?
Regards,
Walter
See the comments in the code. The compiler warning disappears; I found this out with a B4XPages project that was first developed in B4J (with an Arial font, assigned in a conditional "#If B4J" block). B4A didn't complain about the font variable (which was declared unconditionally) not having...
There are more than 30 icon fonts , I am familiar ( and possibly others) with Fontawesome and Material design only.
I came a cross a project (IKONLI) that uses these fonts and it states that:
"...(they) integrate so seamlessly with the existing 'controls'. An icon is simply an extension of the...
When running outside the IDE, all is well. However, when running the attached (based on the default project when creating a new UI one in B4J) from the IDE, it looks like a Greek font is being used for all views except the form title. Changing e.g. a button's font to Arial instead of the default...
Attached the test project and the screenshot. The code is just this:
Dim ListTemplate As B4XListTemplate
Dim dlg As B4XDialog
dlg.Initialize(MainForm.RootPane)
dlg.Title = "Title - this is default font 12"
dlg.TitleBarFont = xui.createDefaultFont(12)...
Hi everyone.
I'm trying to use these fonts (attached), i put this in "#Region Project Attributes"
#AppFont: futuralt-bold.ttf
#AppFont: futuralt-book.ttf
#AppFont: futuralt-bookoblique.ttf
i put the .ttf in the Special folder, and did like so:
lblTitleLastOps.Font =...
It appears there are now more than serif, asns serif and monospace in Android.
I verified that they are present in my Samsung tablet under Android 8.1 or Huawei phone under Android 9, there are Casual, Dancing Script and Carrots Gothic SC. Respectively, handwriting, formal lettering, and small...
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...
Hello,
i found a nice font but can not select a style from it in the ide.
it have
SourceCodePro-Black
SourceCodePro-Bold
SourceCodePro-ExtraLight
SourceCodePro-Light
SourceCodePro-Medium <-
SourceCodePro-Regular
SourceCodePro-Semibold <-
https://blog.typekit.com/2012/09/24/source-code-pro/...