New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow background colour (mcolor) for labels #20
Comments
Hi, |
Or just keep it as transparent unless it's explcitly set? |
Currently there is no tracking for a unique style attribute (like mcolor) whether it is set or not. Only I can see the entire style is inherited or not. |
If we think it further the label can use all backround related style attributes like mcolor, gcolor, bcolor, bopa etc. but only if its style is set explicitly. Else only use the inherited font, ccolor, letter space etc What do you think? |
I added the update to Tests are still needed to see how it effect existing objects where labels are used. |
Just had chance to test this but only for a straight label. Looks very good. |
Thanks for testing! |
lv_canvas: basic drawing functionalities: screenshot
It might be good to allow the background colour of a label to be set via mcolor and inherit the parent object's mcolor if it's not supplied.
The text was updated successfully, but these errors were encountered: