Widget: ScrollFrame

From AddOn Studio
Revision as of 02:33, 5 April 2007 by WoWWiki>Azxiana (Grammar)
Jump to navigation Jump to search

Widget API < ScrollFrame

In many cases, ScrollFrames, and in particular the FrameXML-defined FauxScrollFrame, does more than you need. If all you are trying to accomplish is offsetting a list in an array of buttons/fontstrings, as is often the case, all you really need is a Slider. ScrollFrames are for smooth pixel-by-pixel scrolling of a complete frame that is only partially visible.


Scroll frames are good for scrolling large portions of text, or a large EditBox. However, there is a glitch that will cause dots to appear between the lines of text. This appearance of this glitch changes depending on the height of the ScrollFrame. Certain heights have no visible problems (250 worked for me, and there are others).