mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
Initial commit
This commit is contained in:
commit
e76234feb5
52 changed files with 5235 additions and 0 deletions
20
docs/tut/tmp.md
Normal file
20
docs/tut/tmp.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
```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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue