Libra

API / ScrollFrame

Wrapper implementation of the FrameXML HybridScrollFrame API.


HybridScrollFrame:CreateButtons()

Creates appropriate amount of buttons.
Can be used repeatedly to create missing buttons. (for example due to resizing)
Requires that the scroll frame's and its buttons' size has been set.
Automatically sets points and height of created buttons.


HybridScrollFrame:SetButtonHeight(height)

Specifies the size used for the scroll frame's buttons.


HybridScrollFrame:SetHeaderHeight(height)

Specifies the size used for the scroll frame's header.


HybridScrollFrame:ExpandButton(numButtonsOffset)

Specifies by how many regular buttons the header is offset.


You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jun 16, 2014
Last updated
Jun 16, 2014

Author