vide/docs/tut/tmp.md
2023-04-06 02:54:21 +01:00

20 lines
247 B
Markdown

```lua
local function Text(args)
return create("TextLabel") {
[Layout] = {
Size = scale(1),
args[Layout]
}
}
end
Text {
[Layout] = {
Position = scale(0.5, 0.1)
}
}
```
```lua
a
```