iOS Question Font Size

ivanomonti

Expert
Licensed User
Longtime User
no size font !!

B4X:
    Dim l,t,w,h As Double
   
    l = 0
    t = 0
    w = 100%x
    h = 150dip
   
    Dim lb As Label
    lb.Initialize("")
    lb.Text = "Job2Go"
    lb.AdjustFontSizeToFit = True
    lb.TextAlignment = lb.ALIGNMENT_CENTER
    lb.TextColor = Colors.ARGB(222,222,222,222)
    lb.fontSize = ??????
    Page1.RootPanel.AddView(lb,l,t,w,h)
 

ivanomonti

Expert
Licensed User
Longtime User
Perfet!!

I add the code so that it will be useful to the next


B4X:
    Dim l,t,w,h As Double
   
    l = 0
    t = 0
    w = 100%x
    h = 150dip
   
    Dim lb As Label
    lb.Initialize("")
    lb.Text = "Inventiamoci un lavoro"
    lb.AdjustFontSizeToFit = True
    lb.TextAlignment = lb.ALIGNMENT_CENTER
    lb.TextColor = Colors.ARGB(222,222,222,222)
    lb.Font = Font.CreateNew2(lb.Font.Name,64dip)
    Page1.RootPanel.AddView(lb,l,t,w,h)
 
Upvote 0
Top