-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom theme in Project Settings causes Controls to render incorrectly. #16344
Comments
I have this error too. This is what happens when I have a label while trying to use a custom theme. I'm not sure if the label's black text is a bug or if I just missed something in my theme. I'm more concerned about the "ERROR" that appears in the background. I've seen this with multiple font TTFs. My own example project: |
This is not a bug. When you make empty theme, values of styleboxes in control is null so It's used default style value. It's maked from .png with "Error" text. |
I agree. It wasn't clear to me that controls all have a style box, even labels, and that a null style box causes the "error" background. |
I am wondering whether the error icon should just be a small empty one.. is there much point on showing it? |
Godot version:
3.0
OS/device including version:
Linux 64 bit.
Issue description:
Setting a custom theme causes some Controls to be invisble except for a bit of poorly-rendered text that says "ERROR". So far I've confirmed this only with the several controls that are in the example project. I haven't tested further but I suspect it probably affects all Controls.
Steps to reproduce:
Or just use the minimal example project! Extract, open, run.
Minimal reproduction project:
CustomThemeBug.zip
The text was updated successfully, but these errors were encountered: