label autosize

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
how can I set label autosize width and height?
Thk
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
B4X:
Sub Activity_Create(FirstTime As Boolean)
   Dim lbl As Label
   lbl.Initialize("")
   Activity.AddView(lbl, 10dip, 10dip, -2, -2)
   lbl.Text = "this is an example" & CRLF & "aabbccc"
End Sub

Many thanks! :sign0104:
 
Upvote 0
Top