iOS Question Wrong color fill of labels

red30

Well-Known Member
Licensed User
Longtime User
If "Handle Resize Event" = false in the designer, then when filling a regular label with color, I get the following defects:
B4X:
lbl1.Color=Colors.ARGB(255,198,50,36)

How with "Handle Resize Event" = false, to get the normal fill?
I tried setting up the label as B4XView and filling it color, but still got the same result ...
B4X:
lbl1.SetColorAndBorder(Colors.ARGB(255,198,50,36),5,Colors.White,20)
 

red30

Well-Known Member
Licensed User
Longtime User
This is related to the way the OS optimizes labels. Make the label transparent and put it inside a panel. Change the panel's color.
And if there are any custom label that would work like an android? Or is this the only solution?
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Added Events.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…