[gd_scene load_steps=3 format=3 uid="uid://b6ldneayg8mqq"] [ext_resource type="Script" uid="uid://tsgxcwb1u8uc" path="res://Systems/Game/Map/NodePopup.gd" id="1_5o0ng"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mkr1p"] bg_color = Color(0.14902, 0.14902, 0.188235, 1) border_color = Color(1, 0.8, 0, 1) corner_radius_top_left = 10 corner_radius_top_right = 10 corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [node name="NodePopup" type="Control"] custom_minimum_size = Vector2(150, 250) layout_mode = 3 anchors_preset = 0 size_flags_horizontal = 4 size_flags_vertical = 4 script = ExtResource("1_5o0ng") [node name="CardContainer" type="Panel" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_bottom = -50.0 grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(75, 125) theme_override_styles/panel = SubResource("StyleBoxFlat_mkr1p") [node name="VBoxContainer" type="VBoxContainer" parent="CardContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 10.0 offset_top = 10.0 offset_right = -10.0 offset_bottom = -10.0 grow_horizontal = 2 grow_vertical = 2 [node name="NameLabel" type="Label" parent="CardContainer/VBoxContainer"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_font_sizes/font_size = 18 text = "Node Name" horizontal_alignment = 1 autowrap_mode = 3 [node name="HSeparator" type="HSeparator" parent="CardContainer/VBoxContainer"] layout_mode = 2 [node name="DescriptionLabel" type="Label" parent="CardContainer/VBoxContainer"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "SomeDescription for the selected node and can probalby shrink this text" horizontal_alignment = 1 autowrap_mode = 2 [node name="Spacer" type="Control" parent="CardContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="HBoxContainer" type="HBoxContainer" parent="CardContainer/VBoxContainer"] layout_mode = 2 alignment = 1 [node name="EnterButton" type="Button" parent="CardContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Enter" [node name="VSeparator" type="VSeparator" parent="CardContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 [node name="CloseButton" type="Button" parent="CardContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Close "