You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.9 KiB
129 lines
3.9 KiB
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://gui/widgets/Background.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://gui/forms/NewPollForm.gd" type="Script" id=2]
|
|
[ext_resource path="res://gui/forms/CandidatesTree.gd" type="Script" id=3]
|
|
|
|
[node name="NewPollForm" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Background" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
anchor_top = -0.00187078
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.998129
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
margin_left = 397.0
|
|
margin_top = 179.0
|
|
margin_right = 627.0
|
|
margin_bottom = 419.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TitleHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
margin_right = 230.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/TitleHBoxContainer"]
|
|
margin_top = 5.0
|
|
margin_right = 28.0
|
|
margin_bottom = 19.0
|
|
text = "Title"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TitleLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/TitleHBoxContainer"]
|
|
margin_left = 32.0
|
|
margin_right = 230.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
max_length = 256
|
|
placeholder_text = "Who should we raid?"
|
|
|
|
[node name="CandidatesContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 28.0
|
|
margin_right = 230.0
|
|
margin_bottom = 148.0
|
|
rect_min_size = Vector2( 230, 120 )
|
|
size_flags_vertical = 3
|
|
|
|
[node name="CandidatesTree" type="Tree" parent="CenterContainer/VBoxContainer/CandidatesContainer"]
|
|
margin_right = 230.0
|
|
margin_bottom = 120.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
hide_folding = true
|
|
hide_root = true
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="GradingHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 152.0
|
|
margin_right = 230.0
|
|
margin_bottom = 172.0
|
|
|
|
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"]
|
|
self_modulate = Color( 1, 1, 1, 0.25098 )
|
|
margin_top = 3.0
|
|
margin_right = 49.0
|
|
margin_bottom = 17.0
|
|
text = "Grading"
|
|
|
|
[node name="GradingMenuButton" type="MenuButton" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"]
|
|
margin_left = 53.0
|
|
margin_right = 230.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
disabled = true
|
|
text = "Quality (6 grades)"
|
|
flat = false
|
|
clip_text = true
|
|
items = [ "Quality (2 grades)", null, 2, true, false, 0, 0, null, "", false, "Quality (3 grades)", null, 2, false, false, 0, 0, null, "", false, "Quality (4 grades)", null, 2, false, false, 2, 0, null, "", false ]
|
|
|
|
[node name="DelegationCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 176.0
|
|
margin_right = 230.0
|
|
margin_bottom = 216.0
|
|
disabled = true
|
|
text = "Allow Delegations"
|
|
|
|
[node name="ButtonsHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 220.0
|
|
margin_right = 230.0
|
|
margin_bottom = 240.0
|
|
|
|
[node name="CancelButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
margin_right = 109.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
text = "CANCEL"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
margin_left = 113.0
|
|
margin_right = 117.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="LaunchButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
margin_left = 121.0
|
|
margin_right = 230.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
text = "CREATE"
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/CancelButton" to="." method="_on_CancelButton_pressed"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/LaunchButton" to="." method="_on_LaunchButton_pressed"]
|