View Single Post
03-25-14, 01:11 PM   #9
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 77
Originally Posted by Rainrider View Post
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)
)
Thanks. But that does not effect the unit buttons already spawned.
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."

Last edited by Pyrates : 03-25-14 at 01:16 PM.
  Reply With Quote