Mercurial > wow > kbf
changeset 24:1954ee573a37
tighten up the spacing on the bar text
author | Chris Mellon <arkanes@gmai.com> |
---|---|
date | Mon, 25 Oct 2010 17:18:15 -0500 |
parents | b284fd451972 |
children | 69f46450ef82 |
files | KBF.lua |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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")