Added Borders to Row's Area and Window Area, renamed the old border to Skin Border

This commit is contained in:
Tercio Jose
2022-05-01 19:23:20 -03:00
parent 08f78be505
commit 08a077b596
4 changed files with 192 additions and 34 deletions
+1 -2
View File
@@ -2410,7 +2410,6 @@ function Details:AutoAlignInLineFontStrings()
local maxStringLength_StringThree = 0
local profileOffsetString3 = self.fontstrings_text3_anchor
local profileOffsetString2 = self.fontstrings_text2_anchor
local offsetTotal = 0
Details.CacheInLineMaxDistance = Details.CacheInLineMaxDistance or {}
Details.CacheInLineMaxDistance[self:GetId()] = Details.CacheInLineMaxDistance[self:GetId()] or {[2] = profileOffsetString2, [3] = profileOffsetString3}
@@ -2489,7 +2488,7 @@ function Details:AutoAlignInLineFontStrings()
local totalWidth = text2:GetStringWidth() + text3:GetStringWidth() + text4:GetStringWidth()
totalWidth = totalWidth + 50
DetailsFramework:TruncateText(playerName, self.cached_bar_width - totalWidth)
DetailsFramework:TruncateText(playerName, self.cached_bar_width - totalWidth) --this avoid truncated strings with ...
--playerName:SetWidth(self.cached_bar_width - totalWidth)
end
end