mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-25 14:17:29 -04:00
better gate not responding
This commit is contained in:
parent
262f14caeb
commit
eecf9b31b7
8 changed files with 112 additions and 64 deletions
|
@ -16,7 +16,7 @@ font = ExtResource("2_ugt55")
|
|||
font_size = 20
|
||||
font_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
|
||||
[node name="NotResponding" type="Control" node_paths=PackedStringArray("root", "reload", "wait")]
|
||||
[node name="NotResponding" type="Control" node_paths=PackedStringArray("root", "reload", "back")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -29,7 +29,7 @@ gate_events = ExtResource("2_8u6e2")
|
|||
history = ExtResource("3_ge6h5")
|
||||
root = NodePath("TextureButton")
|
||||
reload = NodePath("TextureButton/Popup/MarginContainer/VBoxContainer/HBoxContainer/Reload")
|
||||
wait = NodePath("TextureButton/Popup/MarginContainer/VBoxContainer/HBoxContainer/Hide")
|
||||
back = NodePath("TextureButton/Popup/MarginContainer/VBoxContainer/HBoxContainer/Back")
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="."]
|
||||
layout_mode = 1
|
||||
|
@ -57,12 +57,12 @@ anchor_top = 0.5
|
|||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -219.0
|
||||
offset_top = -93.0
|
||||
offset_top = -115.0
|
||||
offset_right = 219.0
|
||||
offset_bottom = 112.0
|
||||
offset_bottom = 115.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
ratio = 1.35
|
||||
ratio = 1.5
|
||||
|
||||
[node name="Panel" type="Panel" parent="TextureButton/Popup"]
|
||||
layout_mode = 2
|
||||
|
@ -71,26 +71,37 @@ theme_override_styles/panel = ExtResource("4_2kla0")
|
|||
[node name="MarginContainer" type="MarginContainer" parent="TextureButton/Popup"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 24
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TextureButton/Popup/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
theme_override_constants/separation = 24
|
||||
|
||||
[node name="Label" type="Label" parent="TextureButton/Popup/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Gate is not responding"
|
||||
text = "Oops! World Collapsed"
|
||||
label_settings = ExtResource("5_ruiif")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="TextureButton/Popup/MarginContainer/VBoxContainer"]
|
||||
[node name="Control" type="Control" parent="TextureButton/Popup/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Reload the page or try
|
||||
to wait if it responses"
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label2" type="Label" parent="TextureButton/Popup/MarginContainer/VBoxContainer/Control"]
|
||||
layout_mode = 2
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_vertical = 6
|
||||
text = "The connection to this world has been lost. Reload to try again or go back to safety."
|
||||
label_settings = SubResource("LabelSettings_bkr01")
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TextureButton/Popup/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
@ -107,12 +118,12 @@ theme_override_font_sizes/font_size = 20
|
|||
text = "Reload"
|
||||
icon = null
|
||||
|
||||
[node name="Hide" parent="TextureButton/Popup/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource("7_mxyw0")]
|
||||
custom_minimum_size = Vector2(90, 26)
|
||||
[node name="Back" parent="TextureButton/Popup/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource("7_mxyw0")]
|
||||
custom_minimum_size = Vector2(100, 26)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
theme_override_colors/font_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_fonts/font = ExtResource("2_ugt55")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Wait"
|
||||
text = "Go back"
|
||||
icon = null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue