View Single Post
04/28/14, 02:31 PM   #5
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
Originally Posted by DerVagabund View Post
thanks for the ideas - I also thought about some textual display, but as you mentioned, in order to realize that I would need to calculate each items position individually.
That's a two-liner; if you like it excessive.

lineHeight = ControlHeight / maxLines
lineIndex = math.floor(CursorYPos / lineHeight) + 1
  Reply With Quote