iOS Question Wrong color fill of labels

red30

Active Member
Licensed 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)
IMG_0013.PNG
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

Active Member
Licensed 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
Added Events.
 
Upvote 0
Top