View Single Post
09-12-19, 02:55 AM   #1
glupikreten
A Theradrim Guardian
Join Date: Apr 2009
Posts: 60
Lua reposition frames

Hi,

Can someone explain to me why this does not work:

BNToastFrame:HookScript("OnShow", function(self)
BNToastFrame:ClearAllPoints()
BNToastFrame:SetPoint("BOTTOMLEFT", someframe, "TOPLEFT", 0, 15)
end)

While this works like a charm...

LootFrame:HookScript("OnShow", function(self)
LootFrame:ClearAllPoints()
LootFrame:SetPoint("BOTTOMLEFT", someframe, "TOPLEFT", 450, 250)
end)


Please?


And also is it possible to change strata of FPS frames...

FramerateLabel:SetFrameStrata("HIGH")
FramerateText:SetFrameStrata("HIGH")

not working... afaik strata for both is WORLD which is below BACKGROUND

Last edited by glupikreten : 09-12-19 at 02:57 AM.
  Reply With Quote