View Single Post
08-15-22, 05:11 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
The third parameter of FauxScrollFrame_OnVerticalScroll should be the height of the individual "rows" in your list. In this case ( the height of the T section in your image), NumberList.scrollFrameHeight by the looks of it even though the name sounds a bit dodgy (NumberList.scrollFrameRowHeight would be more obvious).

You seem to be doing the same with the FauxScrollFrame_Update function.

The FauxScroll calculates scroll/thumb position based on the number of rows in your list, the height of a single row, the total entries in the source table and the height of the scrollbar (I thnk that's everything).

The Wiki Has a good description of what's what.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 08-15-22 at 05:16 PM.
  Reply With Quote