View Single Post
02-04-22, 07:49 PM   #1
Racksoup
A Kobold Labourer
Join Date: Feb 2022
Posts: 1
Ace3 GetWidth() not working

When I try to use GetWidth() or GetHeight() on an Ace3 frame I receive the error message 'attempt to call method 'GetWidth' (a nil value)'.

local basicFrame = ACE_GUI:Create("Frame")
basicFrame:SetHeight(200)
basicFrame:SetWidth(200)
print(basicFrame:GetWidth())

When I use a frame from CreateFrame() I can use GetWidth() and GetHeight().

I am also developing on Classic if that makes a difference.
  Reply With Quote