PDA

View Full Version : fading effect when text is too long



mut
15th December 2015, 00:57
Hello;

I have a long text in a rectangle. I want to fade out the last visible characters of the text.

Any hints

Thanks in advance for your help.

Thanks

Mut.

anda_skoa
15th December 2015, 10:21
One way of doing that would be to have another rectangle on top, with a horizontal gradient that uses the same color as the background rect but where the alpha channel goes from fully transparent to fully opaque.

Cheers,
_