iOS Question B4i SetShadow on Label

Yvon Steinthal

Active Member
Licensed User
Hello,

I have a problem with the setshadow effect on labels.

Here is my code:

B4X:
Dim lbl As Label
   lbl.Initialize("")
   lbl.Text = name
   lbl.TextColor = Colors.White
   lbl.Tag = id
   lbl.Font = Font.Createnewbold(12)
   lbl.TextAlignment = lbl.ALIGNMENT_CENTER
   lbl.Color = Colors.ARGB(255,30,144,255)
   lbl.SetBorder(0dip,Colors.Transparent,15)
   lbl.SetShadow(Colors.Black,1dip,1dip,0.6,False)

The shadow effect works well, but the border that i've set previously is completely ignored...

Thanks

Y.
 
Top