Originally Posted by Rosoaa
I want to be able to control the horizontal spacing of my chat tabs. I've tried what I think to be everything and nothing is working. I even tried renaming the chat tabs to something longer. IE: General-------- or General----. This way the tabs are moved further down the dock manager.
Here's my current chat tabs:
Here's a SS of Aftermathh UI (to show you what I'd like to accomplish regarding horizontal spacing):
|
Hey Rosa.
This is what i use for my chat tabs:
LUA Code:
function SkinTab(self)
_G[self..'TabLeft']:SetTexture(nil)
_G[self..'TabMiddle']:SetTexture(nil)
_G[self..'TabRight']:SetTexture(nil)
_G[self..'TabSelectedLeft']:SetTexture(nil)
_G[self..'TabSelectedMiddle']:SetTexture(nil)
_G[self..'TabSelectedRight']:SetTexture(nil)
_G[self..'TabHighlightLeft']:SetTexture(nil)
_G[self..'TabHighlightRight']:SetTexture(nil)
_G[self..'TabHighlightMiddle']:SetTexture(nil)
local a1, a2, a3, a4, a5 = _G[self..'TabText']:GetPoint()
_G[self..'TabText']:SetPoint(a1, a2, a3, a4, a5 + 3, _G[self..'Tab'])
_G[self..'TabText']:SetFont(AftermathhUI.media.font, 11, AftermathhUI.media.fontflag)
if AftermathhUI.media.shadowoffset == true then
_G[self..'TabText']:SetShadowOffset(1, -1)
_G[self..'TabText']:SetShadowColor(0,0,0)
end
_G[self..'TabText']:SetJustifyH('CENTER')
_G[self..'TabText']:SetWidth(500)
if AftermathhUI.chat.chatbackground == true then
_G[self..'Tab']:SetFrameStrata('BACKGROUND')
CreateBorderLight(_G[self..'Tab'], AftermathhUI.media.bordersize, AftermathhUI.bordercolor, AftermathhUI.bordercolor, AftermathhUI.bordercolor, -3, -4, -3, -4, -3, 1, -3, 1)
_G[self..'Tab']:SetBackdrop({
bgFile = AftermathhUI.media.blank,
insets = {left = 3, right = 3, top = 4, bottom = -1},
})
_G[self..'Tab']:SetBackdropColor(0, 0, 0, 0.75)
end
end
for i = 1, NUM_CHAT_WINDOWS do
ModChat('ChatFrame'..i)
SkinTab('ChatFrame'..i)
end