I'm using the oUF Warlock Spec Bars module for Burning Embers/Soul Shards/Demonic Fury. However I don't know if I'm doing something wrong, or I'm using a dodgy version of the module, but I cannot for the life of me get the individual embers/shards to be equal width, the last one always seems to a bit bigger than the others.
Lua Code:
lib.gen_warlock_bars = function(f)
local wb = CreateFrame("Frame", "WarlockSpecBars", f)
wb:SetPoint("BOTTOM", f.Health, "TOP", 0, 3)
wb:SetWidth(150)
wb:SetHeight(8)
for i = 1, 4 do
wb[i] = CreateFrame("StatusBar", "WarlockSpecBars"..i, wb)
lib.gen_backdrop(wb[i])
wb[i]:SetHeight(6)
wb[i]:SetStatusBarTexture(cfg.statusbar_texture)
wb[i].border = lib.gen_border(wb[i])
local point = wb[i]
if i == 1 then
point:SetWidth((150 / 4) - 4)
point:SetPoint("LEFT", wb, "LEFT", 0, 1)
else
point:SetWidth((150 / 4) - 4)
point:SetPoint("LEFT", wb[i-1], "RIGHT", 3, 0)
end
end
f.WarlockSpecBars = wb
end