fix(ui): tabelceller skæres af ved egen bredde (textMaxWidth); ens bygningsnavne slås sammen ('Chicken Coop x5') i Oversigt (v1.19.3.0)

This commit is contained in:
2026-09-24 19:44:21 +02:00
parent 2ed79cf461
commit b86f420a41
7 changed files with 47 additions and 21 deletions
@@ -37,7 +37,7 @@ function SmartPickupFrame:flowCells(adEnv, run)
end
local from, to
if row.kind == "outbound" then
from = joinOr(mark(row.fromNames), i18n:getText("spu_flow_noSource"))
from = ADFlowView.joinCounted(mark(row.fromNames), " + ", i18n:getText("spu_flow_noSource"))
local seen, policies = {}, {}
for _, policy in ipairs(row.policies) do
if not seen[policy] then seen[policy] = true; table.insert(policies, i18n:getText("spu_policy_" .. policy)) end
@@ -45,7 +45,7 @@ function SmartPickupFrame:flowCells(adEnv, run)
to = joinOr(policies, i18n:getText("spu_flow_noProducts"))
else
from = i18n:getText("spu_from_allSilos")
to = joinOr(mark(row.toNames), i18n:getText("spu_flow_noTarget"))
to = ADFlowView.joinCounted(mark(row.toNames), " + ", i18n:getText("spu_flow_noTarget"))
end
local rule
if row.kind == "outbound" then