View Single Post
01-13-07, 10:16 PM   #32
Romie
A Deviate Faerie Dragon
Join Date: Nov 2006
Posts: 10
hi, i updated to newest beta and now i cant even get it to go to 1 frame, ive gone through this whole forum post to try and change it to 1 column and found some help but i still cant manage to do it.

im guessing i have to chnage something in this part of the lua file.

function PerfectRaid:CreateRaidFrame(name, title, filter, strict, dragparent, group, order, columns, coloffset, colanchor)
local frame = CreateFrame("Frame", name, UIParent, "SecureRaidGroupHeaderTemplate")
frame.title = frame:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
frame.title:SetPoint("BOTTOM", frame, "TOP", 0, 3)
frame.title:SetText(title or "")
frame:SetAttribute("point", "TOP")
frame:SetAttribute("groupFilter", filter)
frame:SetAttribute("template", "SecureUnitButtonTemplate")
frame:SetAttribute("templateType", "Button")
frame:SetAttribute("yOffset", -2)
frame:SetAttribute("sortMethod", "NAME")
frame:SetAttribute("strictFiltering", strict)
frame:SetAttribute("groupBy", group)
frame:SetAttribute("groupingOrder", order)
frame:SetAttribute("maxColumns", columns)
frame:SetAttribute("columnSpacing", coloffset)
frame:SetAttribute("columnAnchorPoint", colanchor)
frame.dragparent = dragparent or frame
frame.initialConfigFunction = PerfectRaid.ConfigureButton
frame:SetMovable(true)
frame:SetClampedToScreen(true)
frame:Show()
return frame
end
ive also done a search for columns but i cant find any of this code in my perfectraid.lau file

column:SetAttribute("maxColumns", 2)
column:SetAttribute("unitsPerColumn", 20)
column:SetAttribute("columnSpacing", 10)

Last edited by Romie : 01-13-07 at 10:19 PM.
  Reply With Quote