From cd7e2e0769eb4241d2875670e286d5444e0b8448 Mon Sep 17 00:00:00 2001 From: Peter Eliasson Date: Sat, 17 Jan 2015 02:09:25 +0100 Subject: [PATCH] Changed back to using GameFontHighlightSmall, as the large one was too large. --- src/gui.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/gui.lua b/src/gui.lua index 5b94ee3..30c9eee 100644 --- a/src/gui.lua +++ b/src/gui.lua @@ -30,34 +30,34 @@ function gui:CreateHighScoreParseEntry(parse, role, rank) local rankLabel = AceGUI:Create("Label"); rankLabel:SetText(rank); - rankLabel:SetFontObject(GameFontHighlightLarge); + rankLabel:SetFontObject(GameFontHighlightSmall); rankLabel:SetRelativeWidth(relativeWidth); local dpsHpsLabel = AceGUI:Create("Label"); local dpsHps = Skada:FormatNumber((role == "HEALER") and parse.hps or parse.dps); dpsHpsLabel:SetText(dpsHps); - dpsHpsLabel:SetFontObject(GameFontHighlightLarge); + dpsHpsLabel:SetFontObject(GameFontHighlightSmall); dpsHpsLabel:SetRelativeWidth(relativeWidth); local nameLabel = AceGUI:Create("Label"); nameLabel:SetText(parse.name); nameLabel:SetColor(classColor.r, classColor.g, classColor.b); - nameLabel:SetFontObject(GameFontHighlightLarge); + nameLabel:SetFontObject(GameFontHighlightSmall); nameLabel:SetRelativeWidth(relativeWidth); local specLabel = AceGUI:Create("Label"); specLabel:SetText(parse.specName or ""); - specLabel:SetFontObject(GameFontHighlightLarge); + specLabel:SetFontObject(GameFontHighlightSmall); specLabel:SetRelativeWidth(relativeWidth); local ilvlLabel = AceGUI:Create("Label"); ilvlLabel:SetText(parse.itemLevel or ""); - ilvlLabel:SetFontObject(GameFontHighlightLarge); + ilvlLabel:SetFontObject(GameFontHighlightSmall); ilvlLabel:SetRelativeWidth(relativeWidth); local dateLabel = AceGUI:Create("Label"); dateLabel:SetText(date("%m/%d/%y", parse.startTime)); - dateLabel:SetFontObject(GameFontHighlightLarge); + dateLabel:SetFontObject(GameFontHighlightSmall); dateLabel:SetRelativeWidth(relativeWidth); entryWidget:AddChild(rankLabel); @@ -154,32 +154,32 @@ function gui:CreateHighScoreScrollFrame() local rankLabel = AceGUI:Create("Label"); rankLabel:SetText("Rank"); - rankLabel:SetFontObject(GameFontHighlightLarge); + rankLabel:SetFontObject(GameFontHighlightSmall); rankLabel:SetRelativeWidth(relativeWidth); local dpsHpsLabel = AceGUI:Create("Label"); dpsHpsLabel:SetText("DPS/HPS"); - dpsHpsLabel:SetFontObject(GameFontHighlightLarge); + dpsHpsLabel:SetFontObject(GameFontHighlightSmall); dpsHpsLabel:SetRelativeWidth(relativeWidth); local nameLabel = AceGUI:Create("Label"); nameLabel:SetText("Name"); - nameLabel:SetFontObject(GameFontHighlightLarge); + nameLabel:SetFontObject(GameFontHighlightSmall); nameLabel:SetRelativeWidth(relativeWidth); local specLabel = AceGUI:Create("Label"); specLabel:SetText("Spec"); - specLabel:SetFontObject(GameFontHighlightLarge); + specLabel:SetFontObject(GameFontHighlightSmall); specLabel:SetRelativeWidth(relativeWidth); local ilvlLabel = AceGUI:Create("Label"); ilvlLabel:SetText("Item Level"); - ilvlLabel:SetFontObject(GameFontHighlightLarge); + ilvlLabel:SetFontObject(GameFontHighlightSmall); ilvlLabel:SetRelativeWidth(relativeWidth); local dateLabel = AceGUI:Create("Label"); dateLabel:SetText("Date"); - dateLabel:SetFontObject(GameFontHighlightLarge); + dateLabel:SetFontObject(GameFontHighlightSmall); dateLabel:SetRelativeWidth(relativeWidth); headerContainer:AddChild(rankLabel); -- 1.7.9.5