Seting Up Theme so that It can be Used
This commit is contained in:
parent
dfb751f37f
commit
f6eb10f644
3 changed files with 33 additions and 0 deletions
3
Assets/UI_Theme.tres
Normal file
3
Assets/UI_Theme.tres
Normal file
|
@ -0,0 +1,3 @@
|
|||
[gd_resource type="Theme" format=3 uid="uid://bm68c5qg3xr6i"]
|
||||
|
||||
[resource]
|
26
Scenes/Menu.tscn
Normal file
26
Scenes/Menu.tscn
Normal 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
|
|
@ -24,6 +24,10 @@ window/stretch/aspect="expand"
|
|||
|
||||
project/assembly_name="HoppyEaster"
|
||||
|
||||
[gui]
|
||||
|
||||
theme/custom="res://Assets/UI_Theme.tres"
|
||||
|
||||
[input]
|
||||
|
||||
move_left={
|
||||
|
|
Reference in a new issue