# HG changeset patch # User Chris Mellon # Date 1288045095 18000 # Node ID 1954ee573a3777d01d7e2d469d5af187ca06b11d # Parent b284fd451972e0a786caab4b0e3d09413ec62431 tighten up the spacing on the bar text diff -r b284fd451972 -r 1954ee573a37 KBF.lua --- a/KBF.lua Tue Oct 19 14:08:10 2010 -0500 +++ b/KBF.lua Mon Oct 25 17:18:15 2010 -0500 @@ -111,6 +111,11 @@ self:UpdateBarExpirationTime(tempEnchant) buffCount = buffCount + 1 end + -- there's also a third temp enchant for thrown weapons, which the + -- current SAH doesn't support at all. + -- Since I can't insert bars into the flow, can't support this + -- until I either go to multiple secure headers & figure out how to position them + -- or blizz fixes SAH -- debuffs -- Since debuffs aren't cancellable, don't need to use the secure header @@ -325,8 +330,8 @@ bar.timertext:SetFont(GameFontHighlight:GetFont()) bar.timertext:SetHeight(height) bar.timertext:SetWidth(timertextwidth) - bar.timertext:SetPoint("LEFT", bar.statusbar, "LEFT", 0, 0) - bar.timertext:SetJustifyH("RIGHT") + bar.timertext:SetPoint("LEFT", bar.statusbar, "LEFT", 2, 0) + bar.timertext:SetJustifyH("LEFT") bar.timertext:SetText("time") bar.timertext:SetTextColor(timertextcolor[1], timertextcolor[2], timertextcolor[3], timertextcolor[4]) @@ -334,7 +339,7 @@ bar.text:SetFontObject(GameFontHighlight) bar.text:SetFont(GameFontHighlight:GetFont()) bar.text:SetHeight(height) - bar.text:SetWidth((width - timertextwidth) *.9) + bar.text:SetPoint("LEFT", bar.timertext, "RIGHT", 0, 0) bar.text:SetPoint("RIGHT", bar.statusbar, "RIGHT", 0, 0) bar.text:SetJustifyH("LEFT") bar.text:SetText("text")