Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: saifi0102 on August 25, 2015, 09:49:55 pm

Title: HybridScrollFrame problem
Post by: saifi0102 on August 25, 2015, 09:49:55 pm
I created a HybridScrollFrame to show a list. However the contents do not move with the scrollbar. Any idea what might be wrong?

What I did:
Created a ScrollFrame inheriting HybridScrollFrame,
Set the values on load: self.buttonHeight = 90; self.stepSize = 45; self.buttons = {};
Added contents in its ScrollChild and self.buttons table by Lua script.
Called HybridScrollFrame_Update() with the appropriate arguments.

Didn't know what more information to add here. Please let me know if any other information is required.
Title: Re: HybridScrollFrame problem
Post by: Chase on August 26, 2015, 02:30:44 am
Can you show us the code?