ciginfo Well-Known Member Licensed User Longtime User Nov 15, 2015 #1 Hello, With B4A I can obtain labels witth round corners by code. What is equivalent with B4i? Thank you Code: Dim gd1 As GradientDrawable Dim gd2 As GradientDrawable Dim cols1(2) As Int gd1.Initialize("TOP_BOTTOM",cols1) gd1.CornerRadius = 15 MyLabel.Background = gd1
Hello, With B4A I can obtain labels witth round corners by code. What is equivalent with B4i? Thank you Code: Dim gd1 As GradientDrawable Dim gd2 As GradientDrawable Dim cols1(2) As Int gd1.Initialize("TOP_BOTTOM",cols1) gd1.CornerRadius = 15 MyLabel.Background = gd1
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2015 #2 Code: lbl.SetBorder(2dip, Colors.Red, 15dip) Upvote 0