Originally Posted by
tehdef
DAE know what it takes to get the shortened names? I know that ElvUI has things like Name:Short, but I'm not sure what is providing this truncated stuff.
Granted, ORA3 and BigWigs have a templating system that I was able to key off.
The gist of it, though, is dig through the LUA and find where they're actually getting whatever information, then modify it with something like this:
Code:
local text = bar.candyBarLabel:GetText()
text = text:gsub('(%S+) ',function(t) return t:sub(1,1)..'. ' end)
bar.candyBarLabel:SetText(text)