View Single Post
08/05/15, 12:05 PM   #2
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
AFAIK there's no way to alter a template.

I suppose you mean the add-on manager row types. It creates a new row type every time you unfold add-on description with a different height. You can override ZO_AddOnManager:GetRowSetupFunction() and wrap the function it returns with your own. Only the first row type exists before you have a chance to override it, so you'd have to replace its setupCallback yourself.

Would be much easier if ZO_ScrollList_AddDataType used ZO_ControlPool (in which you could simply replace the templateName), but it uses ZO_ObjectPool with the templateName in a closure, inaccessible from the outside.
  Reply With Quote