Originally Posted by sweede
Does anyone have an example of raid frames growing from left to right (horizontally) ?
I went through every raid frame package listed on this site and none of them have frames growing left to right.
Is this possible with oUF ?
|
This is how i did it for party frames so i assume its basicly the same way
Code:
local party = oUF:Spawn('header', 'oUF_MooPartyTemplate')
party:SetPoint('TOP', UIParent, 'BOTTOM', 0, 100)
party:SetManyAttributes(
"showParty", true,
"showRaid", false,
"columnSpacing", 10,
"unitsPerColumn", 1,
"maxColumns", 4,
"columnAnchorPoint", "LEFT",
"xOffset", 20
)
party:SetAttribute("template", "oUF_MooParty")
but instead of party would be oUF_Raid using the template layout to spawn them where you want them. Also a few pages back Last put up an exampale of using the template and in his layout the raid frames are spawned that way.