From 2d7da6bbc23fb917dfe931eaeb5566da0a102ac3 Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 10 Apr 2022 08:32:49 +0000 Subject: Code cleanup. --- ui/modal_popup/modal_popup.tscn | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ui/modal_popup/modal_popup.tscn (limited to 'ui/modal_popup/modal_popup.tscn') 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 -- cgit v1.2.3