Thread: Tooltips
View Single Post
12/10/14, 11:17 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Carter_DC View Post
oyo, got a small issue with tooltips.
actually 2 issues, first one, I can't get to have my tooltip on the BOTOMRIGHT... BOTOM works like a charm, but botomright displays the tooltip on the right... not botom... (that's not a really big issue)
Code:
Btn:SetHandler("OnMouseEnter",function(AT_Guild_ChatBtn) ZO_Tooltips_ShowTextTooltip(AT_Guild_ChatBtn,BOTTOMRIGHT,AT_Guild.savedVariables.mainGuildName) end)
next issue, i don't get it, i can have a fully functionnal tooltip on a button control, but not on a Label ? thought they both inherit from control, right ? Or maybe i should use an other type of control to look like a label but allow me to have a tooltip ?
As for the first issue I have no idea. Maybe it won't fit to the screen so tooltip is moved somewhere else?

As for the label - do you have enabled mouse events for that label? If you don't, it will not do anything.
XML:
XML Code:
  1. <Label name="whatever" mouseEnabled="true" />
Lua:
Lua Code:
  1. label:SetMouseEnabled(true)
  Reply With Quote