button quick n ugly fix
This commit is contained in:
parent
7852a822a8
commit
0af6ef28af
1 changed files with 30 additions and 0 deletions
|
@ -101,6 +101,14 @@ offset_top = -1.0
|
|||
offset_right = 41.0
|
||||
offset_bottom = 41.0
|
||||
|
||||
[node name="ButtonImageNormal" type="Button" parent="Menu/NormalStart"]
|
||||
layout_mode = 0
|
||||
offset_top = -6.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 35.0
|
||||
focus_mode = 0
|
||||
flat = true
|
||||
|
||||
[node name="Label" type="Label" parent="Menu/NormalStart"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.0
|
||||
|
@ -132,6 +140,15 @@ offset_top = -1.0
|
|||
offset_right = 41.0
|
||||
offset_bottom = 41.0
|
||||
|
||||
[node name="ButtonImageInfinite" type="Button" parent="Menu/InfiniteStart"]
|
||||
layout_mode = 0
|
||||
offset_left = -1.0
|
||||
offset_top = -5.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 36.0
|
||||
focus_mode = 0
|
||||
flat = true
|
||||
|
||||
[node name="Label" type="Label" parent="Menu/InfiniteStart"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.0
|
||||
|
@ -175,7 +192,17 @@ theme_override_fonts/font = ExtResource("3_coatq")
|
|||
theme_override_font_sizes/font_size = 24
|
||||
text = "Options"
|
||||
|
||||
[node name="ButtonImageOption" type="Button" parent="Menu/Options"]
|
||||
layout_mode = 2
|
||||
offset_left = 1.0
|
||||
offset_top = -5.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 35.0
|
||||
focus_mode = 0
|
||||
flat = true
|
||||
|
||||
[node name="Rules" parent="Menu/Options" instance=ExtResource("7_bv273")]
|
||||
visible = false
|
||||
position = Vector2(-286.885, -221.093)
|
||||
|
||||
[node name="close" type="Button" parent="Menu/Options/Rules"]
|
||||
|
@ -200,6 +227,9 @@ expand_icon = true
|
|||
|
||||
[connection signal="pressed" from="Power off" to="." method="_on_power_off_pressed"]
|
||||
[connection signal="pressed" from="Menu/NormalStart" to="." method="_on_normal_start_pressed"]
|
||||
[connection signal="pressed" from="Menu/NormalStart/ButtonImageNormal" to="." method="_on_normal_start_pressed"]
|
||||
[connection signal="pressed" from="Menu/InfiniteStart" to="." method="_on_infinite_start_pressed"]
|
||||
[connection signal="pressed" from="Menu/InfiniteStart/ButtonImageInfinite" to="." method="_on_infinite_start_pressed"]
|
||||
[connection signal="pressed" from="Menu/Options" to="." method="_on_options_pressed"]
|
||||
[connection signal="pressed" from="Menu/Options/ButtonImageOption" to="." method="_on_options_pressed"]
|
||||
[connection signal="pressed" from="Menu/Options/Rules/close" to="." method="_on_close_pressed"]
|
||||
|
|
Reference in a new issue