Hi guys.. i'm trying to write a text in a Label with an icon at the beginning..
i can't do it, csbuilder act weird, i think i'm doing the correct way..
This code
produces this effect:
Thanks in advance
i can't do it, csbuilder act weird, i think i'm doing the correct way..
This code
B4X:
Dim cs As CSBuilder
cs.Initialize.Font(Font.CreateMaterialIcons(20)).Append(Chr(0xE855)).Pop
cs.Font(Font.CreateNew2("AvenirNext-Medium", 15)).Append(" Da fare").Pop
cs.PopAll
lblWarningPasto.AttributedText = cs
produces this effect:
Thanks in advance