A AlfaizDev Well-Known Member Licensed User Thursday at 8:26 AM #1 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
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)
Solution A A AlfaizDev Friday at 7:33 AM AlfaizDev said: 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)[/LEFT] [LEFT] SwiftButton2.xLBL.Font = xui.CreateFontAwesome(16) SwiftButton2.xLBL.Text=Chr(0xF002) Click to expand... B4X: SwiftButton1.xLBL.As(Label).Style="" After all these experiences The solution was only here
AlfaizDev said: 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)[/LEFT] [LEFT] SwiftButton2.xLBL.Font = xui.CreateFontAwesome(16) SwiftButton2.xLBL.Text=Chr(0xF002) Click to expand... B4X: SwiftButton1.xLBL.As(Label).Style="" After all these experiences The solution was only here
A AlfaizDev Well-Known Member Licensed User Friday at 7:33 AM #2 AlfaizDev said: 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)[/LEFT] [LEFT] SwiftButton2.xLBL.Font = xui.CreateFontAwesome(16) SwiftButton2.xLBL.Text=Chr(0xF002) Click to expand... B4X: SwiftButton1.xLBL.As(Label).Style="" After all these experiences The solution was only here Upvote 0 Solution
AlfaizDev said: 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)[/LEFT] [LEFT] SwiftButton2.xLBL.Font = xui.CreateFontAwesome(16) SwiftButton2.xLBL.Text=Chr(0xF002) Click to expand... B4X: SwiftButton1.xLBL.As(Label).Style="" After all these experiences The solution was only here