Code reorganizing
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c0kyheol06kes"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="1_6ucym"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jjq8m"]
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.629675, 0.629675, 0.629674, 1)
|
||||
|
||||
[node name="ConfirmationDialog" type="CanvasLayer"]
|
||||
layer = 128
|
||||
|
||||
[node name="ConfirmationDialog" type="PanelContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -75.0
|
||||
offset_right = 300.0
|
||||
offset_bottom = 85.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_jjq8m")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="ConfirmationDialog"]
|
||||
layout_mode = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ConfirmationDialog"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ConfirmationDialog/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ConfirmationText" type="RichTextLabel" parent="ConfirmationDialog/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 3.0
|
||||
theme_override_fonts/normal_font = ExtResource("1_6ucym")
|
||||
theme_override_font_sizes/normal_font_size = 25
|
||||
bbcode_enabled = true
|
||||
text = "Are you sure you want to make this choice ?"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ConfirmationDialog/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 70
|
||||
theme_override_constants/margin_right = 70
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 70
|
||||
|
||||
[node name="YesButton" type="Button" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("1_6ucym")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "YES"
|
||||
|
||||
[node name="NoButton" type="Button" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("1_6ucym")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "NO"
|
||||
Reference in New Issue
Block a user