From 72ba1a0a35bceafacde95a4096425f7a1bb124d8 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 1 Sep 2009 20:52:55 +0200 Subject: [PATCH] Make sure the width is right for all units --- oUF_P3lim.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 92283ae..e0fdfcc 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -214,7 +214,7 @@ local function style(self, unit) self.Power.bg.multiplier = 0.3 self.Castbar = CreateFrame('StatusBar', nil, self) - self.Castbar:SetWidth(205) + self.Castbar:SetWidth(self.Health:GetWidth() - 25) self.Castbar:SetHeight(16) self.Castbar:SetStatusBarTexture(minimalist) self.Castbar:SetStatusBarColor(0.25, 0.25, 0.35) -- 1.7.9.5