Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Ace3 GetWidth() not working


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off