Add label and position it in center
This commit is contained in:
parent
f18d7363ae
commit
52c5d82be9
1 changed files with 16 additions and 0 deletions
16
step-by-step/label.tscn
Normal file
16
step-by-step/label.tscn
Normal 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"
|
Loading…
Reference in a new issue