Button "hover out" always change font color to normal state

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Guampa

I’m trying in my project to create buttons that change the font color in specific states. I do this on a theme in a simple button node. I also change the texture with styleBoxTextures. The normal state has a color A, and all other states has a color B. Everything works fine, but when I do a “mouse out”, the font color is set to the A color “normal state” even if the button is in focus state. The textures, on the other hand, work perfectly.

Is this a bug or did I miss something?

font colors

:bust_in_silhouette: Reply From: WolframR

i’m not sure. have some buttons that are doing it and some that aren’t, so it may be a setting hiding somewhere.