aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/ProvinceOverviewPanel.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/GameSession/ProvinceOverviewPanel.tscn')
-rw-r--r--game/src/GameSession/ProvinceOverviewPanel.tscn13
1 files changed, 10 insertions, 3 deletions
diff --git a/game/src/GameSession/ProvinceOverviewPanel.tscn b/game/src/GameSession/ProvinceOverviewPanel.tscn
index 2df95fb..7d21edc 100644
--- a/game/src/GameSession/ProvinceOverviewPanel.tscn
+++ b/game/src/GameSession/ProvinceOverviewPanel.tscn
@@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://src/GameSession/ProvinceOverviewPanel.gd" id="1_3n8k5"]
-[node name="ProvinceOverviewPanel" type="Panel" node_paths=PackedStringArray("_province_name_label")]
+[node name="ProvinceOverviewPanel" type="Panel" node_paths=PackedStringArray("_province_name_label", "_region_name_label")]
editor_description = "UI-56"
anchors_preset = 2
anchor_top = 1.0
@@ -12,6 +12,7 @@ offset_right = 200.0
grow_vertical = 0
script = ExtResource("1_3n8k5")
_province_name_label = NodePath("VBoxContainer/ProvinceName")
+_region_name_label = NodePath("VBoxContainer/RegionName")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
@@ -29,7 +30,13 @@ layout_mode = 2
text = "PROVINCE_NAME"
vertical_alignment = 1
-[node name="Button" type="Button" parent="."]
+[node name="RegionName" type="Label" parent="VBoxContainer"]
+editor_description = "UI-58"
+layout_mode = 2
+text = "REGION_NAME"
+vertical_alignment = 1
+
+[node name="CloseButton" type="Button" parent="."]
custom_minimum_size = Vector2(30, 30)
layout_mode = 1
anchors_preset = -1
@@ -39,4 +46,4 @@ anchor_bottom = 0.103333
grow_horizontal = 0
text = "X"
-[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
+[connection signal="pressed" from="CloseButton" to="." method="_on_close_button_pressed"]