Fix a typo in the .60 syntax example and beef it up just a little

Eventually it probably makes sense to replace this with something that highlights models?
This commit is contained in:
Simon Hausmann 2020-09-29 22:33:45 +02:00
parent 23ffcec22b
commit e82e204b1e

View file

@ -66,8 +66,13 @@ describe graphical elements, their placement and the flow of data through the di
```60 ```60
HelloWorld := Window { HelloWorld := Window {
width: 400lx;
height: 400lx;
Text { Text {
text: "Hello, world" y: parent.width / 2;
x: parent.x + 200lx;
text: "Hello, world";
color: blue; color: blue;
} }
} }