View Single Post
12-06-17, 03:05 PM   #14
aallkkaa
A Warpwood Thunder Caller
 
aallkkaa's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 98
Originally Posted by vis781 View Post
Oh, so you're saying it's possible to change the frame just fine, but there would be no way for me to get the with of the string in to the secure snippet?
Erm, no, that's not what I was saying. This is what I was saying:
Code:
local width, height = frame:GetSize()
is exactly the same as:
Code:
local width, height = frame:GetWidth(), frame:GetHeight()
BUT only the later works in a restricted environment (i.e. for a frame that inherits from a secure template).
  Reply With Quote