Seting Up Theme so that It can be Used

This commit is contained in:
Snoweuph 2023-04-07 20:10:23 +02:00
parent dfb751f37f
commit f6eb10f644
3 changed files with 33 additions and 0 deletions

3
Assets/UI_Theme.tres Normal file
View file

@ -0,0 +1,3 @@
[gd_resource type="Theme" format=3 uid="uid://bm68c5qg3xr6i"]
[resource]

26
Scenes/Menu.tscn Normal file
View file

@ -0,0 +1,26 @@
[gd_scene format=3 uid="uid://b376j4vn18yc4"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 26.0
grow_horizontal = 2
text = "Test Label"
horizontal_alignment = 1

View file

@ -24,6 +24,10 @@ window/stretch/aspect="expand"
project/assembly_name="HoppyEaster" project/assembly_name="HoppyEaster"
[gui]
theme/custom="res://Assets/UI_Theme.tres"
[input] [input]
move_left={ move_left={