iOS Question Label with 2 different Textsize??

JanPRO

Well-Known Member
Licensed User
Longtime User
You can also use the Richstring class:

B4X:
    Dim rs As RichString
    rs.Initialize("H2O")
    rs.SetFont(Font.CreateNew(20),0,1)
    rs.SetFont(Font.CreateNew(12),1,2)
    rs.SetFont(Font.CreateNew(20),2,3)
    rs.SetToLabel(Label1)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…