This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: HybridScrollFrame problem  (Read 660 times)

saifi0102

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 42
    • View Profile
HybridScrollFrame problem
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Chase

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 116
    • View Profile
Re: HybridScrollFrame problem
« Reply #1 on: August 26, 2015, 02:30:44 am »
Can you show us the code?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »