mirror of
https://github.com/Steffo99/nanogolf.git
synced 2024-11-21 23:54:21 +00:00
60 lines
1.7 KiB
Text
60 lines
1.7 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://cdieahvbjaqx6"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/results_menu.gd" id="1_b1mjj"]
|
|
|
|
[node name="ResultsMenu" type="Control" node_paths=PackedStringArray("results_grid")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_b1mjj")
|
|
results_grid = NodePath("Layout/ResultsList/Scrollable/PlayerResults")
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Title" type="RichTextLabel" parent="Layout"]
|
|
layout_mode = 2
|
|
bbcode_enabled = true
|
|
text = "[center][font_size=32px][b]Nanogolf[/b][/font_size]
|
|
Risultati[/center]"
|
|
fit_content = true
|
|
|
|
[node name="Padding" type="Control" parent="Layout"]
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
|
|
[node name="ResultsList" type="PanelContainer" parent="Layout"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Scrollable" type="ScrollContainer" parent="Layout/ResultsList"]
|
|
layout_mode = 2
|
|
|
|
[node name="PlayerResults" type="GridContainer" parent="Layout/ResultsList/Scrollable"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 6
|
|
theme_override_constants/h_separation = 12
|
|
theme_override_constants/v_separation = 12
|
|
columns = 7
|
|
|
|
[node name="Padding2" type="Control" parent="Layout"]
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Layout"]
|
|
layout_mode = 2
|
|
|
|
[node name="LeaveButton" type="Button" parent="Layout/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Esci"
|
|
|
|
[connection signal="pressed" from="Layout/HBoxContainer/LeaveButton" to="." method="_on_leave_button_pressed"]
|