Add label and position it in center

This commit is contained in:
Daniel Siepmann 2024-03-26 09:25:03 +01:00
parent f18d7363ae
commit 52c5d82be9
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

16
step-by-step/label.tscn Normal file
View file

@ -0,0 +1,16 @@
[gd_scene format=3 uid="uid://bdta1lhotbqbr"]
[node name="Label" type="Label"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -45.5
offset_top = -11.5
offset_right = 45.5
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
text = "Hello World"