Quantcast Lua reposition frames - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-12-19, 02:55 AM   #1
glupikreten
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 15
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Lua reposition frames

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off