Private Sub AddPadding(lb As Label) As Panel
Dim left,top,width,height As Int
left = lb.Left
top = lb.Top
width = lb.Width
height = lb.Height
Dim newlbl As Label = lb
Dim parent As Panel = lb.Parent
lb.RemoveViewFromParent
Dim p As Panel
p.Initialize("")
p.Color = Colors.Transparent
parent.AddView(p,left - 8dip,top,width+8dip,height + 8dip)
p.AddView(newlbl,8dip,top,width-8dip,height)
Return p
End Sub