Download
(661 b)
Download
Updated: 07-17-10 02:46 PM
Pictures
File Info
Updated:07-17-10 02:46 PM
Created:07-17-10 02:46 PM
Downloads:2,517
Favorites:9
MD5:

ToolTipAnchor

Version: 1.0
by: fhaddad922 [More]

The built in tool tips are good enough for me, however, their location is annoying because I like to use the bottom right corner for grid or other addons. So Tool Tip Anchor was born.

Highlights:

It's super light weight, efficient, fast, and uses almost zero resources.

Features:

  • Reposition the tool tip wherever you like.

Configuration:

Open the ToolTipAnchor.lua file with any text editor and look for the following line:

tooltip:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -30, 225);

The first tag in quotes "BOTTOMRIGHT" is the point on the tool tip where you want to anchor from. The second tag in quotes "BOTTOMRIGHT" is the point on the screen where you want to display the tool tip. So essentially we are saying anchor the bottom right of the tool tip to the bottom right of the screen. The -30 and 225 numbers are offsets. -30 means 30 pixels to the left of the bottom right of the screen, and the 225 means 225 pixels up from the bottom right of the screen. Do not change UIParent as that may create unwanted or unexpected results.

Valid Anchor Points:
  • CENTER
  • BOTTOM
  • TOP
  • LEFT
  • RIGHT
  • BOTTOMLEFT
  • BOTTOMRIGHT
  • TOPLEFT
  • TOPRIGHT

The screenshot shows where the tool tip will appear with the default settings.

If you find any bugs, please report them and I will try to fix it ASAP.

If you have any suggestions, feel free to share them. But keep in mind that my goal is to keep this AddOn simple. There are a dozen AddOns out there if you want lots of fancy features.

Optional Files (0)


Post A Reply Comment Options
Unread 11-09-11, 08:19 PM  
Klesk Reaver
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Nice!

Agreed! simple and effective, no bullshit, no bloating, love it!
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 08:30 PM  
Genesys
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
works and small aka perfect.

thx
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 03:49 PM  
WyteWolf
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by fhaddad922
I'll see if there is a simple way to do that, but I do not think there is without some code rewriting.
Stumbled upon this http://wow.curse.com/downloads/wow-a...iponmouse.aspx

Which seems to do the job
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 10:12 AM  
fhaddad922
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 2
Originally posted by Laochra
This would be MUCH simpler, if I could just drag and drop the tooltip box to a location. Then, simply lock it in place.
You are right. But it's also very easy to open a lua file and play with the numbers till you get it right. I might make a small UI to make positioning the tooltip more user friendly, but i wrote it from a developer perspective, so features like that I don't think about.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 10:10 AM  
fhaddad922
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 2
Originally posted by WyteWolf
Is there a way to set it to the mouse cursor (I use SetOwner to do this), but perhaps not directly on the mouse? Maybe a few twips to either the left or right?
I'll see if there is a simple way to do that, but I do not think there is without some code rewriting.
Report comment to moderator  
Reply With Quote
Unread 10-06-10, 10:38 PM  
WyteWolf
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Is there a way to set it to the mouse cursor (I use SetOwner to do this), but perhaps not directly on the mouse? Maybe a few twips to either the left or right?
Report comment to moderator  
Reply With Quote
Unread 09-23-10, 04:47 PM  
Laochra
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
This would be MUCH simpler, if I could just drag and drop the tooltip box to a location. Then, simply lock it in place.
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 03:37 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Simple and useful! Thanks.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: