WoW:API ScrollFrame UpdateScrollChildRect: Difference between revisions

(Updated to match the current API boilerplate.)
m (Move page script moved page API ScrollFrame UpdateScrollChildRect to API ScrollFrame UpdateScrollChildRect without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:47, 15 August 2023

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.