What steps will reproduce the problem?
- Open EncounterJournal
- Select "Gate of the Setting Sun" (deDE: "Tor der Untergehenden Sonne")
- Can't see the "next" arrow as the text is so long, it moves out of sight.
What is the expected output? What do you see instead?
A shortened instance name would be awesome, e.g. "Tor der U. Sonne". It *just* fits in loot view but in instance or encounter view you can't read the full name, nor use the wonderful "next" arrow.
What version of the product are you using?
Please provide any additional information below.
I fixed this locally with this code added to Details.lua's Clash:StartupDetails, however it's not pretty, doesn't shorten intelligently and also doesn't use a different length for loot view vs. instance/encounter view.
local shortenTitle = function() local title = EncounterJournal.encounter.info.encounterTitle:GetText() if title and string.len(title) > 25 then title = string.gsub(title, "%s?(.[\128-\191]*)%S+%s", "%1. ") end EncounterJournal.encounter.info.encounterTitle:SetText(title) end hooksecurefunc("EncounterJournal_DisplayInstance", shortenTitle) hooksecurefunc("EncounterJournal_DisplayEncounter", shortenTitle)