1786020397
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { Button, VerticalBox, HorizontalBox, CheckBox } from "std-widgets.slint";
|
import { Button, VerticalBox, HorizontalBox, CheckBox } from "std-widgets.slint";
|
||||||
|
|
||||||
export component AppWindow inherits Window {
|
export component AppWindow inherits Window {
|
||||||
default-font-size: 32px;
|
default-font-size: 16px;
|
||||||
in-out property<int> counter: 42;
|
in-out property<int> counter: 42;
|
||||||
callback request-increase-value();
|
callback request-increase-value();
|
||||||
HorizontalBox {
|
HorizontalBox {
|
||||||
@@ -9,7 +9,6 @@ export component AppWindow inherits Window {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
Text {
|
Text {
|
||||||
text: "Counter: \{root.counter}";
|
text: "Counter: \{root.counter}";
|
||||||
font-size: 24px;
|
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
text: "Increase value";
|
text: "Increase value";
|
||||||
|
|||||||
Reference in New Issue
Block a user