1786050223
This commit is contained in:
@@ -11,7 +11,7 @@ import { FilledIcons, OutlinedIcons } from "./icons.slint";
|
|||||||
|
|
||||||
component LightSwitch inherits Horizontal {
|
component LightSwitch inherits Horizontal {
|
||||||
in property <string> text: "";
|
in property <string> text: "";
|
||||||
in_out property <bool> checked: false;
|
in_out property <bool> checked;
|
||||||
in property <bool> enabled: true;
|
in property <bool> enabled: true;
|
||||||
|
|
||||||
alignment: end;
|
alignment: end;
|
||||||
@@ -140,7 +140,7 @@ export component MainWindow inherits Window {
|
|||||||
|
|
||||||
LightSwitch {
|
LightSwitch {
|
||||||
text: "Living Room Light";
|
text: "Living Room Light";
|
||||||
enabled: true;
|
checked: true;
|
||||||
}
|
}
|
||||||
|
|
||||||
LightSwitch {
|
LightSwitch {
|
||||||
|
|||||||
Reference in New Issue
Block a user