online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/lobby/Lobby.tscn')
-rw-r--r--ui/menus/lobby/Lobby.tscn34
1 files changed, 16 insertions, 18 deletions
diff --git a/ui/menus/lobby/Lobby.tscn b/ui/menus/lobby/Lobby.tscn
index 0b9049e..859f8e8 100644
--- a/ui/menus/lobby/Lobby.tscn
+++ b/ui/menus/lobby/Lobby.tscn
@@ -12,17 +12,14 @@ anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
-[node name="Center" type="CenterContainer" parent="."]
+[node name="VBox" type="VBoxContainer" parent="."]
margin_left = 536.0
margin_top = 341.0
margin_right = 886.0
margin_bottom = 459.0
-[node name="VBox" type="VBoxContainer" parent="Center"]
-margin_right = 350.0
-margin_bottom = 118.0
-
-[node name="GameConfig" parent="Center/VBox" instance=ExtResource( 5 )]
+[node name="GameConfig" parent="VBox" instance=ExtResource( 5 )]
+unique_name_in_owner = true
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
@@ -30,7 +27,7 @@ margin_right = 727.0
margin_bottom = 450.0
button_group = SubResource( 1 )
-[node name="stophost" type="Button" parent="Center/VBox"]
+[node name="stophost" type="Button" parent="VBox"]
unique_name_in_owner = true
visible = false
margin_right = 296.0
@@ -39,11 +36,12 @@ focus_mode = 0
size_flags_horizontal = 4
text = "stop hosting"
-[node name="buttons" type="HBoxContainer" parent="Center/VBox"]
+[node name="buttons" type="HBoxContainer" parent="VBox"]
+unique_name_in_owner = true
margin_right = 350.0
margin_bottom = 54.0
-[node name="SpectateButton" type="Button" parent="Center/VBox/buttons"]
+[node name="SpectateButton" type="Button" parent="VBox/buttons"]
margin_right = 110.0
margin_bottom = 54.0
rect_min_size = Vector2( 110, 0 )
@@ -54,7 +52,7 @@ size_flags_vertical = 3
disabled = true
text = "watch"
-[node name="JoinButton" type="Button" parent="Center/VBox/buttons"]
+[node name="JoinButton" type="Button" parent="VBox/buttons"]
margin_left = 120.0
margin_right = 230.0
margin_bottom = 54.0
@@ -65,7 +63,7 @@ size_flags_horizontal = 7
disabled = true
text = "join"
-[node name="HostButton" type="Button" parent="Center/VBox/buttons"]
+[node name="HostButton" type="Button" parent="VBox/buttons"]
unique_name_in_owner = true
margin_left = 240.0
margin_right = 350.0
@@ -77,7 +75,7 @@ size_flags_horizontal = 7
disabled = true
text = "host"
-[node name="Address" type="LineEdit" parent="Center/VBox"]
+[node name="Address" type="LineEdit" parent="VBox"]
unique_name_in_owner = true
margin_top = 64.0
margin_right = 350.0
@@ -92,7 +90,7 @@ placeholder_text = "game_name"
caret_blink = true
caret_blink_speed = 0.5
-[node name="StatusOK" type="Label" parent="Center/VBox"]
+[node name="StatusOK" type="Label" parent="VBox"]
unique_name_in_owner = true
visible = false
margin_top = 242.0
@@ -100,7 +98,7 @@ margin_right = 350.0
margin_bottom = 292.0
autowrap = true
-[node name="StatusFail" type="Label" parent="Center/VBox"]
+[node name="StatusFail" type="Label" parent="VBox"]
unique_name_in_owner = true
visible = false
margin_top = 242.0
@@ -109,7 +107,7 @@ margin_bottom = 292.0
custom_colors/font_color = Color( 0.862745, 0.196078, 0.184314, 1 )
autowrap = true
-[connection signal="pressed" from="Center/VBox/stophost" to="." method="_on_stophost_pressed"]
-[connection signal="pressed" from="Center/VBox/buttons/SpectateButton" to="." method="_on_spectate_pressed"]
-[connection signal="pressed" from="Center/VBox/buttons/JoinButton" to="." method="_on_join_pressed"]
-[connection signal="pressed" from="Center/VBox/buttons/HostButton" to="." method="_on_HostButton_pressed"]
+[connection signal="pressed" from="VBox/stophost" to="." method="_on_stophost_pressed"]
+[connection signal="pressed" from="VBox/buttons/SpectateButton" to="." method="_on_spectate_pressed"]
+[connection signal="pressed" from="VBox/buttons/JoinButton" to="." method="_on_join_pressed"]
+[connection signal="pressed" from="VBox/buttons/HostButton" to="." method="_on_HostButton_pressed"]