Create method for labels and button to template
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/levels/warcraft.jpg" type="Texture" id=1]
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer"]
|
||||
margin_right = 150.0
|
||||
@@ -10,9 +8,7 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
margin_right = 150.0
|
||||
margin_bottom = 150.0
|
||||
texture = ExtResource( 1 )
|
||||
margin_right = 350.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -26,8 +22,8 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" type="HBoxContainer" parent="."]
|
||||
margin_top = 154.0
|
||||
margin_right = 150.0
|
||||
margin_top = 4.0
|
||||
margin_right = 350.0
|
||||
margin_bottom = 174.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -35,8 +31,8 @@ custom_constants/separation = 25
|
||||
alignment = 1
|
||||
|
||||
[node name="ButtonReset" type="Button" parent="VBoxContainer"]
|
||||
margin_right = 62.0
|
||||
margin_bottom = 20.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 170.0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
@@ -53,9 +49,9 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="ButtonCount" type="Button" parent="VBoxContainer"]
|
||||
margin_left = 87.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 20.0
|
||||
margin_left = 187.0
|
||||
margin_right = 350.0
|
||||
margin_bottom = 170.0
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 3
|
||||
__meta__ = {
|
||||
|
||||
Reference in New Issue
Block a user