View Single Post
10-29-12, 06:13 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yes, though if you're putting it in a file, I'd suggest reformatting it for better readability:

Code:
-- Move it:
WatchFrame:ClearAllPoints()
WatchFrame:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 30, 17)

-- Stop the default UI from moving it back:
local noop = function() end
WatchFrame.ClearAllPoints = noop
WatchFrame.SetPoint = noop
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote