m
updated reference to Gametooltip:Show()
(WoW 2.0 update) |
m (updated reference to Gametooltip:Show()) |
||
| Line 41: | Line 41: | ||
MyTooltip:AddLine("New tooltip line", 1, 1, 1); | MyTooltip:AddLine("New tooltip line", 1, 1, 1); | ||
MyTooltip:Show(); | MyTooltip:Show(); | ||
---- | |||
;''Details'' | |||
Note that this only appends the new line to the tooltip. It does not update the tooltip's height/width, so that the newly added line initially appears underneath (outside of) the tooltip.<br /> | |||
A subsequent call to [[API_Region_Show|GameTooltip:Show()]] will update the tooltip's borders correctly. | |||