Added Borders to Row's Area and Window Area, renamed the old border to Skin Border
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -192,6 +192,21 @@ _detalhes.instance_defaults = {
|
||||
fontstrings_text3_anchor = 38,
|
||||
fontstrings_text2_anchor = 73,
|
||||
|
||||
--title bar
|
||||
titlebar_height = 16,
|
||||
titlebar_texture = "",
|
||||
titlebar_color = {0, 0, 0, 0},
|
||||
|
||||
--full border
|
||||
fullborder_shown = false,
|
||||
fullborder_color = {0, 0, 0, 1},
|
||||
fullborder_size = 0.5,
|
||||
|
||||
--row area border
|
||||
rowareaborder_shown = false,
|
||||
rowareaborder_color = {0, 0, 0, 1},
|
||||
rowareaborder_size = 0.5,
|
||||
|
||||
--row info
|
||||
row_info = {
|
||||
--if true the texture of the bars will have the color of his actor class
|
||||
|
||||
Reference in New Issue
Block a user