0 votes

I made a custom theme, added a custom font (and font data) to it, but the font is black. How can I change it? In the theme editor it shows as white, the label's color is set to white, but it still appears black.

asked Oct 17, 2019 in Engine by KijeviGombooc (137 points)

Is it a Label or a RichTextLabel?

1 Answer

0 votes

You can change the color under Custom Colors. Check the Font Color option and pick the color that you want.

answered Oct 18, 2019 by johnygames (1,574 points)

Since then, I found this option, but only in a new project. I realized that if I set a default theme for the project, and set default font, the color of texts will be black and I wont be able to change it (The option simply wont be there).
If I however set the default style of labels in the theme, I can change the color to white there, and also the custom color option will be back too. Can anyone reproduce this (I believe) bug?

Trying to clarify things:

case 1.:
-I have a label, with default settings (no theme selected for it)
-I have a theme with default settings, except default font, which is set to a font of choice
-I dont have custom theme selected for project
Result:
I can change font color of label under: Label->Control->Custon Colors

case 2.:
-I have a label, with default settings except that the theme below is selected as theme
-I have a theme with default settings, except default font, which is set to a font of choice
-I dont have custom theme selected for project
Result:
I can change font color of label under: Label->Control->Custon Colors

case 3:
-I have a label, with default settings (no theme selected for it)
-I have a theme with default settings, except default font, which is set to a font of choice
-I have the theme above selected as custom theme selected for project
Result:
I cannot change font color of label under: Label->Control->Custon Colors, because the options: Custom Styles, Custom Fonts, Custom Colors, Custom Constants are not there/gone

case 4:
-I have a label, with default settings (no theme selected for it)
-I have a theme with default settings, except default font, which is set to a font of choice. Also, I added class item Label to the theme.
-I have the theme above selected as custom theme selected for project
Result:
I can change font color of label under: Label->Control->Custon Colors

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.