Problem anchoring GameTooltip
Code:
local function onMouseLeave(self, motion) But I want this tooltip to show where most of them show up - around the right bottom corner. As far as I can see from ingame prints, while the gametip is on there, the anchor is set to "ANCHOR_NONE". If I change the anchor to "ANCHOR_NONE" it stops working properly, the size of the box upon which the text appears is different every time it shows up and sometimes the text might not show up at all, just the box. What I'm doing wrong here? Thank you! |
I don't believe ANCHOR_NONE actually sets the tooltip to the default position, it behaves essentially the same way as calling GameTooltip:ClearAllPoints()
To mimic the default behavior, what you actually want to use is GameTooltip_SetDefaultAnchor(GameTooltip, UIParent), which is defined in frameXML\GameTooltip.lua Lua Code:
|
Beautiful, thank you very much!
|
All times are GMT -6. The time now is 03:39 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI