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()
+2 -2
View File
@@ -526,8 +526,8 @@ Aux.search_tab.FRAMES(function(m, public, private)
UIDropDownMenu_Initialize(this, m.initialize_filter_dropdown)
end)
getglobal(dropdown:GetName()..'Text'):Hide()
local label = Aux.gui.label(dropdown, 17)
label:SetPoint('RIGHT', dropdown, 'LEFT', -13, 0)
local label = Aux.gui.label(dropdown, Aux.gui.config.normal_font_size)
label:SetPoint('RIGHT', dropdown, 'LEFT', -15, 0)
label:SetText('Post Filter')
private.filter_dropdown = dropdown
end