You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Labels, by design, do not have a background. This is partly because the actual rectangular area used by a label is determined not by the co-ordinates specified through the .rect property, but by the actual contents of the label (the .rect property just defines the maximum area that the label is allowed to occupy). As such, if you need to add a background to a label you need to use the rectangle widget. Just add a rectangle and add a label on top of it (using same .rect coordinates).
To see that the .color_fill property is not used at all by the label check the implementation file here.
I seem to be failing to change the colour of the label. I wonder if I am doing it wrong or there is a bug.
This is my code:
I also tried:
And:
The text was updated successfully, but these errors were encountered: