I tested out the patch before submitting it, so I have seen it working. When adding support to my layout I created each holyRune as a texture rather than a status bar.
You example looks mostly fine, but I would make sure you set the width of each of your holyRunes, otherwise you will not see them...
------
just dry-coded this, but it might work...
Code:
local _, class = UnitClass('player')
if class == 'PALADIN' then
local holyPower = CreateFrame('Frame', nil, self)
holyPower:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', 0, -1)
holyPower:SetSize(config.PRIMARYUNITWIDTH, config.SPACING)
holyPower:SetBackdrop(config.BACKDROP)
holyPower:SetBackdropColor(0, 0, 0)
for i = 1, MAX_HOLY_POWER do
local holyRune = holyPower:CreateTexture(nil, 'OVERLAY')
holyRune:SetSize((config.PRIMARYUNITWIDTH / MAX_HOLY_POWER) - 1, config.SPACING)
holyRune:SetTexture(1, 3 / 5, 0)
if i > 1 then
holyRune:SetPoint('LEFT', holyPower[i - 1], 'RIGHT', 1, 0)
else
holyRune:SetPoint('BOTTOMLEFT', holyPower, 'BOTTOMLEFT', 1, 0)
end
holyPower[i] = holyRune
end
self.HolyPower = holyPower
end