0 votes

Sorry for my terrible English therefore a picture.

Window_control is from type control
WindowFrame is from type nine Patch
Title is from type Label

enter image description here

in Engine by (29 points)
edited by

1 Answer

0 votes

I have made a scene according to what i can see on your picture. It worked fine. here is the code:

extends Control 
onready var titel_node = $WindowFrame/Titel

func _ready():
    set_title("text")

func set_title(t):
    var titel = t
    if titel_node == null:
            titel_node = $WindowFrame/WindowFrame/Titel
    titel_node.set_text(titel)

Does this work? If not, consider making the scene again

by (74 points)

Thanks.
I had making the scene again. No change.
I change the computer this work.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.