438 B
438 B
setSize
Changes the object size
Parameters:
number|stringwidth as number or dynamicvalue as stringnumber|stringheight as number or dynamicvalue as string
Returns:
objectThe object in use
Usage:
- Sets the frame to have a width of 15 and a height of 12
local mainFrame = basalt.createFrame()
local subFrame = mainFrame:addFrame():setSize(15,12)
<frame width="15" height="12" />