[gd_scene load_steps=2 format=3]

[ext_resource type="Script" path="res://addons/proton_scatter/src/stack/inspector_plugin/ui/presets/save_preset.gd" id="1"]

[node name="SavePresetPopup" type="WindowDialog"]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -180.0
margin_top = -81.0
margin_right = 180.0
margin_bottom = 81.0
size_flags_horizontal = 5
size_flags_vertical = 5
window_title = "Save Preset"
resizable = true
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 24
custom_constants/margin_top = 4
custom_constants/margin_left = 24
custom_constants/margin_bottom = 24
__meta__ = {
"_edit_use_anchors_": false
}

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 24.0
margin_top = 4.0
margin_right = 336.0
margin_bottom = 120.0
size_flags_vertical = 0
custom_constants/separation = 12
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Warning" type="Label" parent="MarginContainer/VBoxContainer"]
modulate = Color( 1, 0.513726, 0.278431, 1 )
margin_right = 312.0
margin_bottom = 48.0
text = "Preset name must be a valid file name.
It cannot contain the following characters: 
: / \\\\ ? * \" | % < >"
valign = 2
autowrap = true

[node name="LineEdit" type="LineEdit" parent="MarginContainer/VBoxContainer"]
margin_top = 60.0
margin_right = 312.0
margin_bottom = 84.0
placeholder_text = "Preset Name"
caret_blink = true

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 96.0
margin_right = 312.0
margin_bottom = 116.0
custom_constants/separation = 24
alignment = 1

[node name="Cancel" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 96.0
margin_right = 150.0
margin_bottom = 20.0
text = "Cancel"

[node name="Save" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 174.0
margin_right = 215.0
margin_bottom = 20.0
text = "Save"

[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -135.0
margin_top = -44.0
margin_right = 135.0
margin_bottom = 44.0
window_title = "Overwrite existing preset?"
dialog_autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
