Label inside the window has text but remains invisible at runtime

Godot Version

Godot Engine v4.6.2.stable.official.71f334935

Question

I want the program to pop up a native warning window when F12 is pressed, displaying some text. However, nothing shows up at the moment. The scene tree is working fine. The relevant code is around line 287 in Console.gd. Below are the related code and the solutions I’ve tried.

https://chat.deepseek.com/share/ksko8yh9jbxbjh03pt

I looked at your code in GitHub. It is very obvious you are using AI. Garbage in, garbage out.

This is the line in question:

console_window.get_node("WarnWindow").popup_centered()

This is the documentation for popup_centered: popup_centered

By default, that method defines the minimum size for a popup as zero pixels. Which seems to be the problem you asked about.

1 Like