aboutsummaryrefslogtreecommitdiff
path: root/ui/modal_popup/modal_popup.tscn
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-04-10 08:32:49 +0000
committerdam <dam@gudinoff>2022-04-10 08:32:49 +0000
commit2d7da6bbc23fb917dfe931eaeb5566da0a102ac3 (patch)
treeae4d7541267dd1a7a5633ff79ac7de1e9055437b /ui/modal_popup/modal_popup.tscn
parent75791aecbff0d8adc1011f45a69877cabff616e0 (diff)
downloadsurgery-log-2d7da6bbc23fb917dfe931eaeb5566da0a102ac3.tar.zst
surgery-log-2d7da6bbc23fb917dfe931eaeb5566da0a102ac3.zip
Code cleanup.
Diffstat (limited to 'ui/modal_popup/modal_popup.tscn')
-rw-r--r--ui/modal_popup/modal_popup.tscn40
1 files changed, 40 insertions, 0 deletions
diff --git a/ui/modal_popup/modal_popup.tscn b/ui/modal_popup/modal_popup.tscn
new file mode 100644
index 0000000..3814bef
--- /dev/null
+++ b/ui/modal_popup/modal_popup.tscn
@@ -0,0 +1,40 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://ui/modal_popup/modal_popup.gd" type="Script" id=1]
+[ext_resource path="res://fonts/font_icons.tres" type="DynamicFont" id=2]
+
+[node name="popup" type="ColorRect"]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+color = Color( 0, 0, 0, 0.870588 )
+script = ExtResource( 1 )
+
+[node name="background" type="Panel" parent="."]
+anchor_left = 0.05
+anchor_top = 0.1
+anchor_right = 0.95
+anchor_bottom = 0.975
+
+[node name="title" type="Label" parent="."]
+anchor_left = 0.124
+anchor_top = 0.025
+anchor_right = 0.95
+anchor_bottom = 0.1
+margin_left = 0.0799866
+margin_right = -80.0
+margin_bottom = -20.0
+align = 1
+valign = 1
+autowrap = true
+
+[node name="dismiss" type="Button" parent="."]
+anchor_left = 0.05
+anchor_top = 0.025
+anchor_right = 0.124
+anchor_bottom = 0.1
+margin_right = 0.0799866
+margin_bottom = -20.0
+custom_fonts/font = ExtResource( 2 )
+text = ""
+flat = true