B4J Question SwiftButton1 does not work with materialdesignicons and others via code

AlfaizDev

Well-Known Member
Licensed User
B4X:
Dim IconsFont As B4XFont = xui.CreateFont(fx.LoadFont(File.DirAssets,"materialdesignicons-webfont.ttf",64),64)
    SwiftButton1.xLBL.Font = IconsFont
    SwiftButton1.xLBL.Text=Chr(0xfd84)
    
    SwiftButton2.xLBL.Font = xui.CreateFontAwesome(16)
    SwiftButton2.xLBL.Text=Chr(0xF002)
 

Attachments

  • SwiftButtonTest.zip
    253.7 KB · Views: 21
Solution
B4X:
SwiftButton1.xLBL.As(Label).Style=""
After all these experiences
The solution was only here

AlfaizDev

Well-Known Member
Licensed User
B4X:
SwiftButton1.xLBL.As(Label).Style=""
After all these experiences
The solution was only here
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…