White text on a gradient?

I’m currently testing UIGradients! While doing so, I wanted to do white text on top of a gradient (TextButton). I’m not sure if I would need to use an ImageButton with a TextLabel on top or if I was able to do it with just a TextButton.

My current attempt makes the texted invisible when I make it white:
https://gyazo.com/73205eaf8d418f940e029723dd86cd2e

My current UI set up (incase needed):

2 Likes

The only solution I could find for this would be to just make a text label that goes over the gradient background.
This is what I mean:
image

3 Likes

Thanks, Blue! I wish it was simpler but I guess this will work.

2 Likes

This happens when backgroundcolor is the same as textcolor (idk if its for white only) but you need to use 2 different colors. example: background color white, textcolor grey