gui refactoring
This commit is contained in:
@@ -1073,7 +1073,7 @@ function public.CreateAuctionResultsTable(parent, config)
|
||||
local text = cell:CreateFontString()
|
||||
text:SetJustifyH('CENTER')
|
||||
text:SetJustifyV('CENTER')
|
||||
text:SetFont(Aux.gui.config.font, 12)
|
||||
text:SetFont(Aux.gui.config.font, Aux.gui.config.tiny_font_size)
|
||||
text:SetTextColor(unpack(Aux.gui.config.label_color.enabled))
|
||||
cell:SetFontString(text)
|
||||
if not column_config.isPrice then cell:SetText(column_config.title or '') end -- TODO
|
||||
|
||||
+2
-2
@@ -308,7 +308,7 @@ local methods = {
|
||||
|
||||
local text = col:CreateFontString()
|
||||
text:SetJustifyV('CENTER')
|
||||
text:SetFont(Aux.gui.config.font, Aux.gui.config.normal_font_size)
|
||||
text:SetFont(Aux.gui.config.font, Aux.gui.config.medium_font_size)
|
||||
text:SetTextColor(unpack(Aux.gui.config.text_color.enabled))
|
||||
text:SetAllPoints()
|
||||
col.text = text
|
||||
@@ -394,7 +394,7 @@ local methods = {
|
||||
if st.sizes.headFontSize then
|
||||
col.text:SetFont(Aux.gui.config.font, st.sizes.headFontSize)
|
||||
else
|
||||
col.text:SetFont(Aux.gui.config.font, 15)
|
||||
col.text:SetFont(Aux.gui.config.font, Aux.gui.config.medium_font_size)
|
||||
end
|
||||
end
|
||||
st:Redraw()
|
||||
|
||||
Reference in New Issue
Block a user