Wikia

WoWWiki

Watchlist Recent changes

API Region SetAllPoints

Redirected from API LayoutFrame SetAllPoints

Main Menue



Sets an object to be positioned and sized exactly the same as another object.

MyObject:SetAllPoints(relativeRegion or "regionName") 

... is exactly equivalent to:

MyObject:SetPoint("TOPLEFT", relativeRegion ,"TOPLEFT", 0, 0)
MyObject:SetPoint("BOTTOMRIGHT", relativeRegion ,"BOTTOMRIGHT", 0, 0)
  • See Region:SetPoint()
  • region may be given as nil to anchor relative to the whole screen.
  • region unspecified anchors the object to the parent.

Pages on WoWWiki

94,207pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,634photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki