WoW:API ScrollFrame UpdateScrollChildRect: Difference between revisions

({{wowapi}} + {{Stub/API}})
m (Move page script moved page API ScrollFrame UpdateScrollChildRect to API ScrollFrame UpdateScrollChildRect without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{Stub/API}}


Updates the Scroll Child Rectangle
Updates the scroll frame's scroll child rectangle.
ScrollFrame:UpdateScrollChildRect()


You need to call this when you change the contents of your ScrollFrame.
 
== 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.

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.