Page 1 of 1

Add background text color

Posted: 27 Jan 2019 11:41
by dgiorgi
Hello,
I suggest to add the property "background color" for the Element TEXT of the widgets.

Like this:
setWidgetElementProperty("Widget_Calendario", "Titolo", "text", "Lorem ipsum dolor sit amet");
setWidgetElementProperty("Widget_Calendario", "Titolo", "backgroundcolor", "#ffff0000");

Regards.
Danilo

Re: Add background text color

Posted: 27 Jan 2019 18:18
by digitalstone
I was about to say this would be too specific and you could easily solve it with a simple rectangle behind it.
But then variable text can have a whatever-amount of width.

This request isn't bad at all ;)
+1

Re: Add background text color

Posted: 28 Jan 2019 16:48
by dgiorgi
Currently I use the rectangle, but setting the background color of the text would be simpler.
Thank you

Re: Add background text color

Posted: 28 Jan 2019 17:28
by Desmanto
It seems we all naturally find the common way to place rectangle behind a text to give it color. :D
+1 for this feature. We can get rid of that additional rectangle and control the text element directly instead.