WoW:UIOBJECT ScrollFrame: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Remove singatures made using ~ in main namespace)
(Added note about ScrollFrame display glitch)
Line 3: Line 3:


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 [[UIOBJECT Slider|Slider]]. ScrollFrames are for smooth pixel-by-pixel scrolling of a complete frame that is only partially visible.
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 [[UIOBJECT Slider|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 large a large [[UIOBJECT EditBox|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).

Revision as of 19:58, 24 February 2007

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 large 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).