fix: Help popup must not overflow.

master
Dominique Merle 4 years ago
parent 012e153ee3
commit fdf2693824

@ -27,15 +27,16 @@ __meta__ = {
} }
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 74.0 margin_left = 80.0
margin_top = 136.0 margin_top = 170.0
margin_right = 526.0 margin_right = 532.0
margin_bottom = 662.0 margin_bottom = 628.0
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="TitleHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"] [node name="TitleHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
visible = false
margin_right = 452.0 margin_right = 452.0
margin_bottom = 60.0 margin_bottom = 60.0
@ -57,9 +58,8 @@ max_length = 256
placeholder_text = "Who should we raid?" placeholder_text = "Who should we raid?"
[node name="CandidatesContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"] [node name="CandidatesContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 68.0
margin_right = 452.0 margin_right = 452.0
margin_bottom = 318.0 margin_bottom = 250.0
rect_min_size = Vector2( 230, 250 ) rect_min_size = Vector2( 230, 250 )
size_flags_vertical = 3 size_flags_vertical = 3
@ -73,9 +73,9 @@ hide_root = true
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="GradingHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"] [node name="GradingHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 326.0 margin_top = 258.0
margin_right = 452.0 margin_right = 452.0
margin_bottom = 378.0 margin_bottom = 310.0
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"] [node name="Label" type="Label" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"]
self_modulate = Color( 1, 1, 1, 0.25098 ) self_modulate = Color( 1, 1, 1, 0.25098 )
@ -96,16 +96,16 @@ 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 ] 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"] [node name="DelegationCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer"]
margin_top = 386.0 margin_top = 318.0
margin_right = 452.0 margin_right = 452.0
margin_bottom = 466.0 margin_bottom = 398.0
disabled = true disabled = true
text = "Allow Delegations" text = "Allow Delegations"
[node name="ButtonsHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"] [node name="ButtonsHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 474.0 margin_top = 406.0
margin_right = 452.0 margin_right = 452.0
margin_bottom = 526.0 margin_bottom = 458.0
[node name="CancelButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"] [node name="CancelButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
margin_right = 214.0 margin_right = 214.0
@ -129,9 +129,20 @@ size_flags_horizontal = 3
text = "CREATE" text = "CREATE"
[node name="NoProviderPopup" parent="CenterContainer" instance=ExtResource( 4 )] [node name="NoProviderPopup" parent="CenterContainer" instance=ExtResource( 4 )]
margin_left = -28.0 margin_left = 26.0
margin_top = 122.0 margin_top = 99.0
margin_right = 628.0 margin_right = 586.0
margin_bottom = 676.0 margin_bottom = 699.0
dialog_text = "No vote provider is enabled.
No-one will be able to vote!
Let's go pick one in the Settings!
I will come with you.
We're all in this together.
-- Your friend,
-- The Popup Painter
"
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/CancelButton" to="." method="_on_CancelButton_pressed"] [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"] [connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/LaunchButton" to="." method="_on_LaunchButton_pressed"]

@ -37,11 +37,10 @@ margin_bottom = 440.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Providers" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"] [node name="Providers" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
margin_left = 8.0 margin_left = 8.0
margin_top = 60.0 margin_top = 61.0
margin_right = -8.0 margin_right = -8.0
margin_bottom = -8.0 margin_bottom = -8.0
@ -79,7 +78,7 @@ margin_top = 12.0
margin_right = 585.0 margin_right = 585.0
margin_bottom = 68.0 margin_bottom = 68.0
text = "Enable this to simulate text = "Enable this to simulate
votes for a quick demo." votes for a quick demo"
[node name="TwitchContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"] [node name="TwitchContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_top = 196.0 margin_top = 196.0
@ -137,6 +136,7 @@ disabled = true
text = "Some other Chat Commands" text = "Some other Chat Commands"
[node name="General" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"] [node name="General" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
margin_left = 8.0 margin_left = 8.0

Loading…
Cancel
Save