Quantcast WoWInterface - View Single Post - Help on ScrollFrame with LUA
View Single Post
03-03-13, 05:25 PM   #30
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 231
Thanks very much for you clues.

Lua Code:
  1. -- [...]
  2. RemGank_conf_scrollFrame:SetScript("OnVerticalScroll", function(self, offset)
  3.     FauxScrollFrame_OnVerticalScroll(self, offset, BUTTON_HEIGHT, RemGank_ListFrame_Update(self))
  4.     FauxScrollFrame_OnVerticalScroll(self, offset, BUTTON_HEIGHT, RemGank_ListFrame_Update(self))
  5. end)

It works and fixes the wrong offset problem. It is not a beautifull solution, but at least it is a working one :-)

Thanks again.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote