B4J Library [B4X] [XUI] xChart Class and b4xlib - klaus Feb 04, 2025 (104 reactions) RemoveHorizontalLine (Value As Double)
Removes the horizontal line from the list with the given value.
Value = Y scale value.
RemovePointData (Index As Int) As String
removes the data of the point with the given index
SetBarMeanValueFormat (MinimumIntegers As Int, MaximumFractions As Int, MinimumF Spanish B4X - Uso de custom fonts icons (SliderMenu) - TILogistic Jun 30, 2021 (27 reactions) Initialize(Activity, Me, "SlideMenu", ActionBar.Height, 250)
'Set imtems menu
B4XSlideMenu1.AddItem(1,"Chat", FontToBitmap(Chr(0xe914), IconsFont, 26, xui.Color_Black))
B4XSlideMenu1.AddItem(2,"Photo", FontToBitmap(Chr(0xe90b), IconsFont, 26, xui.Color_Black))
B4XSlideMenu1. B4A Code Snippet [B4X] Using custom fonts on labels and canvases - TILogistic Sep 15, 2024 (12 reactions) Using custom fonts on labels and canvases.
Demo code attached.
156972 B4A Library [B4X] SD CustomKeyboard - Star-Dust Mar 26, 2024 (42 reactions) log release
1.03
Added AddRowDouble method: allows you to enter the value in uppercase and lowercase for each key, for keys with special characters you can establish the character that will show in normal and with the shift
1.04
Added ClearKeyboard method to clear the keyboard with all the associat B4J Question Custom Font in Designer - Erel (first post) Jan 04, 2022 (2 reactions) B4XView:
tf.Font = xui.CreateFont(fx.LoadFont(...), 14)
Only B4A supports adding fonts inside the designer. B4A Library [B4X] BCTextEngine / BBCodeView - Text engine + BBCode parser + Rich Text View - Erel (first post) Dec 31, 2019 (4 reactions) V1.71 adds support for custom fonts.
Example:
TextEngine.CustomFonts.Put("italic",xui.CreateFont(Typeface.CreateNew(Typeface.DEFAULT, Typeface.STYLE_ITALIC), 10)) 'size not important
BBCodeView1.Text = $"Example of using custom font. We can also change its size."$
Cross platform italic font:
Su Share My Creation [B4J] Hex View CustomView - stevel05 Mar 25, 2025 (21 reactions) Here is my take on a Hex dump as a custom view. 87485 You can: Explore any size file Load one or more arrays of bytes Search the data There is a degree of customisation in the designer and subsequently in the class for setting colours used for different highlighting. Turning the headers on/off B4J Question [SOLVED] B4XFloatTextField How to Set Custom Font - Erel (first post) Jul 20, 2022 (2 reactions) 131658
It doesn't matter whether a view is declared as B4XView or not. It doesn't affect the behavior.
The case here is a bit more complicated as TextField doesn't have a font property and it must be set with a CSS attribute. Apparently referencing external fonts must be done with a CSS file:
@f B4A Tutorial Setting custom font for whole application without any library - Brandsum Dec 02, 2018 (13 reactions) Then add this following code to apply custom font
CreateResource(values, theme.xml,
<resources>
<style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:fontFamily">@font/CustomFontStyle</item>
<item name="fontFamily">@font/CustomFontStyle</item>
B4i Question The custom Font in WebView1 does not work - AlfaizDev Jul 06, 2021 I use this code in B4A
It works well
When I used it in B4I
The coordination works except the custom Font
It shows me to write default Font for mobile
File.Copy(File.DirAssets, "uthmantn1ver10.otf",File.DirLibrary,"uthmantn1ver10.otf")
Dim Deel As String =Content
Dim pish As Str Page: 1 2 3 4 5 6 7 Powered by ColBERT |