D Deleted member 103 Guest Nov 26, 2020 #1 Hi, the switch looks different in iPhone-X than in iPhone 6+. Is there a way to fix the error? B4X: Switch1.TintColor = colors.Black iPhone 6+ screenshot: iPhone-X screenshot:
Hi, the switch looks different in iPhone-X than in iPhone 6+. Is there a way to fix the error? B4X: Switch1.TintColor = colors.Black iPhone 6+ screenshot: iPhone-X screenshot:
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2020 #2 Set the width to 52, height to 21, border width to 1 and corner radius to 15. Upvote 0
D Deleted member 103 Guest Nov 27, 2020 #3 Erel said: Set the width to 52, height to 21, border width to 1 and corner radius to 15. Click to expand... Thank you Erel! It's almost perfect, but I get a better result with these values: width = 52 height = 31 Switch1.SetBorder(1, colors.black, 15) Upvote 0
Erel said: Set the width to 52, height to 21, border width to 1 and corner radius to 15. Click to expand... Thank you Erel! It's almost perfect, but I get a better result with these values: width = 52 height = 31 Switch1.SetBorder(1, colors.black, 15)