iOS Question Text doesn't appear under awesomefont

Discussion in 'iOS Questions' started by Jamie8763, Aug 9, 2018.

  1. Jamie8763

    Jamie8763 Active Member Licensed User

    Ive been trying to make this work under B4I but I can't get the text to appear under the awesome font:

    I took the original code from

    Sub CreateLabel(Label As Label, Text1 As String, Text2 As StringAs B4XBitmap
    Dim cs As CSBuilder
    Label.AttributedText = cs
        xlbl = 
    'xlbl.Text = cs. <-----   This might be the reason?
        xlbl.TextColor = xui.Color_White
    Return xlbl.Snapshot
    End Sub
  2. Erel

    Erel Administrator Staff Member Licensed User

    The first step is to start with a new project with a single label and make the label look properly.

    Add Label.Multiline = True.
    Jamie8763 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice