Thread: BNToastFrame
View Single Post
07-24-14, 02:34 PM   #6
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
Originally Posted by Aanson View Post
Hey,

I'm surprised that Lombra's suggestion isn't working for you.

You could try dictating the anchor points whenever the frame shows:

Lua Code:
  1. BNToastFrame:HookScript("OnShow", function(self)
  2.     self:ClearAllPoints();
  3.     self:SetPoint("TOPRIGHT", LeftChatBaseFrame, "TOPRIGHT", -7, -35);
  4. end);

On a side note after looking at your code. I know it's tempting to change something like reducing scale with an addon, and I appreciate that you've commented on the fact that increasing the scale will break your addon. Remember though that some people have over 100 addons installed at any one time. They'll likely not take kindly to a change in scale destroying the setup of all their other addons!
great this worked like a charm man thank you!!
__________________
  Reply With Quote