slight design adjustments

This commit is contained in:
Manuel Simon Hirsig
2016-08-02 07:50:36 +02:00
parent 941e067e01
commit f04723bc33
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -297,7 +297,7 @@ local methods = {
local colNum = getn(st.headCols) + 1
local col = CreateFrame('Button', st:GetName()..'HeadCol'..colNum, st.contentFrame)
if colNum == 1 then
col:SetPoint('TOPLEFT', 0, 0)
col:SetPoint('TOPLEFT', 0, -1)
else
col:SetPoint('TOPLEFT', st.headCols[colNum - 1], 'TOPRIGHT')
end
@@ -308,11 +308,11 @@ local methods = {
local text = col:CreateFontString()
text:SetJustifyV('CENTER')
text:SetFont(Aux.gui.config.font, 15)
text:SetFont(Aux.gui.config.font, Aux.gui.config.normal_font_size)
text:SetTextColor(unpack(Aux.gui.config.text_color.enabled))
text:SetAllPoints()
col.text = text
col:SetFontString(text)
text:SetAllPoints()
local tex = col:CreateTexture()
tex:SetAllPoints()