Skip to content

Commit c37475e

Browse files
committed
Run the syntax updater to use the new syntax
1 parent 9d79c80 commit c37475e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/appwindow.slint

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { Button, VerticalBox } from "std-widgets.slint";
22

3-
export AppWindow := Window {
4-
property<int> counter: 42;
3+
export component AppWindow inherits Window {
4+
in-out property<int> counter: 42;
55
callback request-increase-value();
66
VerticalBox {
77
Text {
8-
text: "Counter: \{counter}";
8+
text: "Counter: \{root.counter}";
99
}
1010
Button {
1111
text: "Increase value";
1212
clicked => {
13-
request-increase-value();
13+
root.request-increase-value();
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)