Text:SetAllPoints

Pins all the edges of this frame to the edges of a different frame. If no target is given, defaults to this frame's parent.

Usage:

Frame:SetAllPoints()
Frame:SetAllPoints(target)
ParameterTypeDatatypeDescription
targetparameterLayoutTarget Layout to pin this frame's edges to.
noSecureFrameAndEnvironment
true