Thread: Xpbar
View Single Post
03-27-11, 03:32 AM   #20
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Originally Posted by Oraknathal View Post
so how do I unparent it?
Code:
local Anchor = { "TOP", Minimap, "TOP", 0 , 0 }
to

Code:
local Anchor = { "TOPRIGHT", UIParent, "TOPRIGHT", 0 , 0 }
You'll need to change the last two numbers (X, Y) to move your bar. Both numbers will go negative to move the bar left and down. I.e.

Code:
local Anchor = { "TOPRIGHT", UIParent, "TOPRIGHT", -20 , -10 }
Will move your bar 20 pixels left, and 10 pixels down.
  Reply With Quote