WoW:API ScrollFrame UpdateScrollChildRect: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
(→‎Details: This function is no longer needed)
Line 14: Line 14:


== Details ==
== Details ==
: You need to call this when you change the contents of your ScrollFrame.
: You were required to call this when you changed the contents of your ScrollFrame prior to patch 2.3. You no longer need to call it now. If a child frame, texture or fontstring has changed, the scroll parent will automatically recalculate it's scroll rect and dispatch events appropriately.

Revision as of 21:03, 5 March 2008

WoW API < ScrollFrame UpdateScrollChildRect

Updates the scroll frame's scroll child rectangle.

ScrollFrame:UpdateScrollChildRect()


Arguments

None


Returns

nil


Details

You were required to call this when you changed the contents of your ScrollFrame prior to patch 2.3. You no longer need to call it now. If a child frame, texture or fontstring has changed, the scroll parent will automatically recalculate it's scroll rect and dispatch events appropriately.