View Single Post
07/27/15, 02:58 PM   #9
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
This may not be what you want, maybe you have other plans for the highlight, but instead of creating it in your row template you can just pass a highlight template to ZO_ScrollList_EnableSelection(...)
and pick a different highlight texture:
Lua Code:
  1. local selectTemplate = "ZO_ThinListHighlight"
  2. ZO_ScrollList_EnableSelection(scrollList, selectTemplate, selectCallback)
ZO_ThinListHighlight (You probably wont see the black on the right hand side your rows aren't that wide)


If you don't need a callback & just want a highlight you can just leave the selectCallback nil & it will just highlight/unhighlight the rows for you when they are clicked.

Last edited by circonian : 07/27/15 at 03:00 PM.
  Reply With Quote