Hi all. Happen a strain thing with csbuilder.
If i have this code:
i have this result:
if i have this code ( that seem correct code ) :
i have this result:
So i see FontAwesome only if i insert in first line. In this way i cant add new font or new style( type bold etc ) . Where i wrong ?
Thank you
Marco
If i have this code:
B4X:
Dim cs As CSBuilder
cs.Initialize.Font(Font.CreateFontAwesome(20))
cs.Color(Colors.Red).Append("Titolo ").Append(CRLF).Pop
cs.Append("Categoria: Calcio").Append(CRLF)
cs.Append("Visualizzazioni: 456").Append(CRLF)
cs.Append("Stelle: ").Font(Font.CreateFontAwesome(20)).Color(Colors.Red).Append(Chr(0xF005))
cs.PopAll
i have this result:
if i have this code ( that seem correct code ) :
B4X:
Dim cs As CSBuilder
cs.Initialize.Color(Colors.Red).Append("Titolo ").Append(CRLF).Pop
cs.Append("Categoria: Calcio").Append(CRLF)
cs.Append("Visualizzazioni: 456").Append(CRLF)
cs.Append("Stelle: ").Font(Font.CreateFontAwesome(20)).Color(Colors.Red).Append(Chr(0xF005))
cs.PopAll
i have this result:
So i see FontAwesome only if i insert in first line. In this way i cant add new font or new style( type bold etc ) . Where i wrong ?
Thank you
Marco