View Single Post
04/21/16, 01:01 AM   #4
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
AddLine() cannot removed without parsing the whole tooltip ... bad, only for oneshot-infos.
You should use AddControl() with your TextBox. A ClearAnchors() will remove it from the position and should resize the tooltip to its size before.
With the new CraftStore i use TopLevelControls and anchor them inside or outside the tooltip-control, because with AddControl() you can only use SetAnchor(CENTER). Disadvantage is, they must be hidden by a PreHook, because they not hide with the tooltip.
  Reply With Quote