aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/NationManagementScreen
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-04 00:54:38 +0200
committer hop311 <hop3114@gmail.com>2024-06-06 21:30:56 +0200
commit0ba36e6762615d17605a573a036aff5bf84dfc95 (patch)
treeaea64483ffb003d74c0671f9f2a4db878a3b8cb3 /game/src/Game/GameSession/NationManagementScreen
parentfb74bc86d194b50cb3277c7f367a5e5a0316c948 (diff)
Province const/mutable + proper State namesprovince-const-mutable
Diffstat (limited to 'game/src/Game/GameSession/NationManagementScreen')
-rw-r--r--game/src/Game/GameSession/NationManagementScreen/PopulationMenu.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/NationManagementScreen/PopulationMenu.gd b/game/src/Game/GameSession/NationManagementScreen/PopulationMenu.gd
index 15f8dca..c3e091e 100644
--- a/game/src/Game/GameSession/NationManagementScreen/PopulationMenu.gd
+++ b/game/src/Game/GameSession/NationManagementScreen/PopulationMenu.gd
@@ -458,6 +458,7 @@ func _update_province_list(scroll_index : int = -1) -> void:
GUINode.format_province_name(province_list_info[name_key]) if type == MenuSingleton.LIST_ENTRY_PROVINCE
else province_list_info[name_key]
)
+ _province_list_name_labels[index].set_text_overrun_behavior(TextServer.OVERRUN_TRIM_ELLIPSIS)
if _province_list_size_labels[index]:
_province_list_size_labels[index].set_text(GUINode.int_to_string_suffixed(province_list_info[size_key]))