Originally Posted by Pyrates
Hmmm, so what does one do then to change the size of header unit buttons after they're spawned? Or is the trick to make sure you're not in combat for the change?
|
You pass the size to the oUF-initialConfigFunction attribute when you define the header. Something like
Code:
local header = SpawnHeader("PartyHeader", nil, "party",
"showParty", true,
"oUF-initialConfigFunction", format("self:SetSize(%d, %d)", cfg.headerWidth, cfg.headerHeight)
)
@10leej
You could spawn a header for every raid group separately instead of one for the whole raid. unitsPerColumn would then be 1 instead of 5 and you'll have to use "groupFilter" to tell the header which raid group to display.