Hello,
I use the below code to create a menu item with icon and text below it.
In another app it shows perfect but with this , I can't understand . It only shows the first charachter of each menu item
please see image :
I use the below code to create a menu item with icon and text below it.
B4X:
Sub menuleriayarla
Dim cs As CSBuilder
cs.Initialize.Alignment("ALIGN_LEFT")
cs.Font(Font.CreateMaterialIcons(28)).Color(Colors.black).Append("").Pop.Append(CRLF)
cs.Font(Font.DEFAULT).color(Colors.black).Append("Live Market").Pop
cs.PopAll
lblmenu1.AttributedText=cs
Dim cs As CSBuilder
cs.Initialize.Alignment("ALIGN_CENTER")
cs.Font(Font.CreateMaterialIcons(28)).Color(Colors.black).Append("").Pop.Append(CRLF)
cs.Font(Font.DEFAULT).color(Colors.black).Append("Converter")
cs.PopAll
lblmenu2.AttributedText=cs
End Sub
In another app it shows perfect but with this , I can't understand . It only shows the first charachter of each menu item
please see image :