slight design adjustments
This commit is contained in:
+3
-3
@@ -297,7 +297,7 @@ local methods = {
|
|||||||
local colNum = getn(st.headCols) + 1
|
local colNum = getn(st.headCols) + 1
|
||||||
local col = CreateFrame('Button', st:GetName()..'HeadCol'..colNum, st.contentFrame)
|
local col = CreateFrame('Button', st:GetName()..'HeadCol'..colNum, st.contentFrame)
|
||||||
if colNum == 1 then
|
if colNum == 1 then
|
||||||
col:SetPoint('TOPLEFT', 0, 0)
|
col:SetPoint('TOPLEFT', 0, -1)
|
||||||
else
|
else
|
||||||
col:SetPoint('TOPLEFT', st.headCols[colNum - 1], 'TOPRIGHT')
|
col:SetPoint('TOPLEFT', st.headCols[colNum - 1], 'TOPRIGHT')
|
||||||
end
|
end
|
||||||
@@ -308,11 +308,11 @@ local methods = {
|
|||||||
|
|
||||||
local text = col:CreateFontString()
|
local text = col:CreateFontString()
|
||||||
text:SetJustifyV('CENTER')
|
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:SetTextColor(unpack(Aux.gui.config.text_color.enabled))
|
||||||
|
text:SetAllPoints()
|
||||||
col.text = text
|
col.text = text
|
||||||
col:SetFontString(text)
|
col:SetFontString(text)
|
||||||
text:SetAllPoints()
|
|
||||||
|
|
||||||
local tex = col:CreateTexture()
|
local tex = col:CreateTexture()
|
||||||
tex:SetAllPoints()
|
tex:SetAllPoints()
|
||||||
|
|||||||
@@ -526,8 +526,8 @@ Aux.search_tab.FRAMES(function(m, public, private)
|
|||||||
UIDropDownMenu_Initialize(this, m.initialize_filter_dropdown)
|
UIDropDownMenu_Initialize(this, m.initialize_filter_dropdown)
|
||||||
end)
|
end)
|
||||||
getglobal(dropdown:GetName()..'Text'):Hide()
|
getglobal(dropdown:GetName()..'Text'):Hide()
|
||||||
local label = Aux.gui.label(dropdown, 17)
|
local label = Aux.gui.label(dropdown, Aux.gui.config.normal_font_size)
|
||||||
label:SetPoint('RIGHT', dropdown, 'LEFT', -13, 0)
|
label:SetPoint('RIGHT', dropdown, 'LEFT', -15, 0)
|
||||||
label:SetText('Post Filter')
|
label:SetText('Post Filter')
|
||||||
private.filter_dropdown = dropdown
|
private.filter_dropdown = dropdown
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user