What’s the proper way to find the exact rectangle defining an item in a list box?
getRowPosition() only provides coarse co-ordinates, and, at least in the last stable JUCE release, does not compensate at all for viewport scrolling[1].
Since the viewport is not exposed, and I can’t see a method to find which row item is currently the top-most visible item, I can’t see a way to find out where exactly a row is on screen.
I know I could use custom components, but in this instance, that’d be major overkill.
[1] I’ll be honest, I’m a little at a loss to see what that method is supposed to be doing at all.