mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
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:
parent
23ffcec22b
commit
e82e204b1e
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue