Thread: Tooltip Offset
View Single Post
09-01-08, 11:59 AM   #1
nostress
A Deviate Faerie Dragon
 
nostress's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 16
Tooltip Offset

I'm working on a simple addon that I want to do two things.
1.Change the tooltip anchor to the cursor.
2.Move the tooltip a bit to the right so I can see what i'm pointing at.

The first bit is easy:
Code:
function GameTooltip_SetDefaultAnchor(tooltip, parent)
	tooltip:SetOwner(parent, "ANCHOR_CURSOR")
end
What do I need to add to set the offset of the tooltip to the right?
  Reply With Quote