Oliver Simith
Member
See the codes below:
Are there any solutions? Thanks.
b4x:
Dim s1 As String="你好,请问有什么能够帮你的吗?我是您的贴心小助手,爱你哟"
Dim s2 As String="Hello! What can I do for you? I am your lovely assisstance. "
bbLbl.TextEngine.Initialize(Root)
bbLbl.mBase.SetColorAndBorder(Colors.LightGray,1dip,Colors.Blue,5dip)
bbLbl.WordWrap=True
bbLbl.Text=s1 'word wrap will work when .text=s2, but won't work when .text=s1
bbLbl.mBase.Height=bbLbl.Paragraph.Height/bbLbl.TextEngine.mScale + bbLbl.Padding.Top + bbLbl.Padding.Bottom
bbLbl.Redraw
Are there any solutions? Thanks.