Android Question Changing font - [B4X] [XUI] AS Settings

wimpie3

Well-Known Member
Licensed User
Longtime User
How can I change the fonts indicated in red? The group font ("Advanced Settings" in the screenshot) can be changed but not the rest...

1735040591182.png
 
The font of the DescriptionItem you can change this way:
B4X: Copy
    Dim DescriptionItem As AS_Settings_DescriptionItem = AS_Settings1.MainPage.AddDescriptionItem("","Show sync help: when enabled, you'll see an explanation alert every time you tap 'Sync' on the Today tab.")
    DescriptionItem.xFont = xui.CreateDefaultBoldFont(20)

The font of the other property you can change in the CustomDrawProperty event.
B4X: Copy
Private Sub AS_Settings1_CustomDrawProperty(CustomDrawProperty As AS_Settings_CustomDrawProperty)
    
    Select CustomDrawProperty.Property.PropertyName
        Case "PropertyName_7"
            CustomDrawProperty.PropertyViews.NameLabel.Font = xui.CreateDefaultBoldFont(50)
    End Select
    
End Sub
It is not yet possible to change the font globally for the properties.
 
Upvote 0
Is possible in V2.17 to change it globally
More infos here:
 
Upvote 0
Back
Top