Alrighty this is racking my brain thought I may come here to ask from people with more experience. I am simply trying to make these frames go from vertical to horizontal. I can't seem to get a reply via with the author.
I got it to work by turning on the healing frames but then if I set "unitsPerColumn", 1" it wont show the other groups
Thanks in advance!!
Code:
if cfg.HealFrames then
if cfg.ShowRaid then
CompactRaidFrameContainer:Hide()
CompactRaidFrameManager:SetAlpha(0)
self:SetActiveStyle("Raid")
local maxGroups = 5
if cfg.RaidShowAllGroups then maxGroups = 8 end
local raid = oUF:SpawnHeader("oUF_Raid", nil, "solo,party,raid",
"showRaid", true,
"showPlayer", true,
"showSolo", cfg.RaidShowSolo,
"showParty", cfg.ShowParty,
"xoffset", 7,
"yOffset", 15,
"groupFilter", "1,2,3,4,5,6,7,8",
"groupBy", "GROUP",
"groupingOrder", "1,2,3,4,5,6,7,8",
"sortMethod", "INDEX",
"maxColumns", maxGroups,
"unitsPerColumn", 5,
"columnSpacing", 7,
"point", "BOTTOM",
"columnAnchorPoint", "LEFT",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(65, 25))
raid:SetPoint("BOTTOM", UIParent, 0, 85)
end
else
if cfg.ShowRaid then
CompactRaidFrameContainer:Hide()
CompactRaidFrameManager:SetAlpha(0)
self:SetActiveStyle("Raid")
local maxGroups = 5
if cfg.RaidShowAllGroups then maxGroups = 8 end
local raid = oUF:SpawnHeader("oUF_Raid", nil, "solo,party,raid",
"showRaid", true,
"showPlayer", true,
"showSolo", cfg.RaidShowSolo,
"showParty", cfg.ShowParty,
"xoffset", 7,
"yOffset", 7,
"groupFilter", "1,2,3,4,5,6,7,8",
"groupBy", "GROUP",
"groupingOrder", "1,2,3,4,5,6,7,8",
"sortMethod", "INDEX",
"maxColumns", maxGroups,
"unitsPerColumn", 5,
"columnSpacing", 7,
"point", "BOTTOM",
"columnAnchorPoint", "LEFT",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(60, 25))
raid:SetPoint("TOPLEFT", UIParent, 10, -10)
end