Hi, further to that, at the moment im using a layout where it shows 25 frames 5 frames high for the raid.
If i just change it to 8, then the extra frames appear in columns of 8
How do i keep it limited at 5 per column but show 8 rows instead?
Thats the code im using, i have tried changing max columns but its not working
Code:
local raid = {}
for i = 1, 8 do
local raidgroup = oUF:Spawn("header", "oUF_Raid"..i)
raidgroup:SetManyAttributes("groupFilter", tostring(i), "showRaid", true,
"columnSpacing", 4, "unitsPerColumn", 1,
"maxColumns", 8,
"columnAnchorPoint", "LEFT",
"yOffSet", -10,
"xOffset", 10)
table.insert(raid, raidgroup)
if settings.RaidPet then
if i==1 then
raidgroup:SetPoint("LEFT", UIParent, "LEFT", 477, -185)
else
raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -35)
end
raidgroup:SetAttribute("template", "oUF_RaidPet")
else
if i==1 then
raidgroup:SetPoint("LEFT", UIParent, "LEFT", cfg.raidX, cfg.raidY)
else
raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -30)
end
end
end
if not settings.HideRaid then
local tank = oUF:Spawn("header", "oUF_MainTank")
tank:SetManyAttributes("showRaid", true, "groupFilter", "MAINTANK", "yOffset", -5)
tank:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -396, 26)
tank:SetAttribute("template", "oUF_MainTank")
tank:Show()
end