Hey all,
I've spent half a day and a bit too long last night trying to get Zorks Roth UI to arrange raid groups horizontally instead of vertically.
I'm a lua noob and even worse on oUF so I'm sinking at the deep end atm.
I've managed to change so that the different groups start under eachother, but the members within each group is still vertical.
This part is where I've spend most of my tinkering, but in case it's anywhere else in the code I've also attached the lua.
Code:
local raid = {}
for i = 1, 8 do
table.insert(raid, oUF:Spawn("header", "oUF_Raid"..i))
if i == 1 then
raid[i]:SetPoint("TOPLEFT", "oUF_D3Orbs_RaidDragFrame", "TOPLEFT", 20, 0)
else
raid[i]:SetPoint("TOPLEFT", raid[i-1], "TOPRIGHT", -40, -45)
end
raid[i]:SetManyAttributes("showRaid", true, "xOffset", 20, "groupFilter", i)
raid[i]:Show()
end
I really hope anyone can help me with this, would mean a lot to me to get this part right.
ps
If anyone cares for the reason why it's because I pretty much only raid 10-mans and only need 2 rows, which fit better into the UI as horizontal.
ds