Help with Label effect



I would like to surround a label with red glow (validation purposes).

Using the GlowEffect I was only able to have the red glow inside the label and the glow was affecting the text also (which isn’t something I want)…
What do I have to do in order to make make it glow outside its borders and to not affect the text?



Components can only draw inside their border, so you’d have to create a bigger ‘glow’ component that would float behind or above your button.


What about the text being affected by the GlowEffect?

I’m using setComponentEffect on the bigger ‘glow’ component…

I guess I need to make the bigger glow component and the label siblings and then use the effect only on the big component.