Jelajahi Sumber

Resize button and add label

DricomDragon 5 tahun lalu
induk
melakukan
6f974c32e5
1 mengubah file dengan 14 tambahan dan 5 penghapusan
  1. 14 5
      HUD.tscn

+ 14 - 5
HUD.tscn

@@ -60,14 +60,23 @@ wait_time = 2.15
 one_shot = true
 
 [node name="ColorButton" type="TextureButton" parent="."]
-margin_left = 160.073
-margin_top = 629.419
-margin_right = 322.073
-margin_bottom = 714.419
+anchor_top = 1.0
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_top = -200.0
+margin_bottom = -50.0
 texture_normal = SubResource( 9 )
 texture_pressed = SubResource( 10 )
 texture_hover = SubResource( 11 )
 expand = true
-stretch_mode = 4
+stretch_mode = 5
+
+[node name="Start" type="Label" parent="ColorButton"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_top = 19.0
+custom_fonts/font = SubResource( 2 )
+text = "Start"
+align = 1
 [connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"]
 [connection signal="pressed" from="ColorButton" to="." method="_on_StartButton_pressed"]