Accidentally uploaded outdated 1.6 docs
This commit is contained in:
Robert Jelic
2023-05-01 16:28:46 +02:00
parent 92b93a3862
commit d4c72514ef
265 changed files with 25608 additions and 3867 deletions

View File

@@ -0,0 +1,27 @@
# Object
## setSize
Changes the object size
### Parameters
1. `number|string` width as number or dynamicvalue as string
2. `number|string` height as number or dynamicvalue as string
### Returns
1. `object` The object in use
### Usage
* Sets the frame to have a width of 15 and a height of 12
```lua
local mainFrame = basalt.createFrame()
local subFrame = mainFrame:addFrame():setSize(15,12)
```
```xml
<frame width="15" height="12" />
```