How do I skin an unnamed frame...?
aLanaMaunz opened this issue ยท 1 comments
sorry, found "a solution"... not great, but at least it works~
for i=1, select("#", _G["LFGParentFrame"]:GetChildren()) do
local ChildFrame = select(i, _G["LFGParentFrame"]:GetChildren())
if ChildFrame:GetObjectType() == "Button" and ChildFrame:GetName() == nil then
print(ChildFrame:GetObjectType())
print(ChildFrame:GetName())
AS:SkinCloseButton(ChildFrame)
ChildFrame:ClearAllPoints()
ChildFrame:SetPoint('TOPRIGHT', '$parent', 'TOPRIGHT', 4, -7)
end
end