1786205460
This commit is contained in:
@@ -166,7 +166,7 @@ export component AppWindow inherits Window {
|
|||||||
HorizontalLayout {
|
HorizontalLayout {
|
||||||
height: root.height - 64px;
|
height: root.height - 64px;
|
||||||
Rectangle {
|
Rectangle {
|
||||||
preferred-width: (root.width / 3) * 2;
|
preferred-width: (root.width / 4) * 3;
|
||||||
VerticalLayout {
|
VerticalLayout {
|
||||||
if tab-bar.current-index == 0: Climate {
|
if tab-bar.current-index == 0: Climate {
|
||||||
is-night: is-night;
|
is-night: is-night;
|
||||||
@@ -191,7 +191,7 @@ export component AppWindow inherits Window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
VerticalBox {
|
VerticalBox {
|
||||||
preferred-width: root.width / 3;
|
preferred-width: root.width / 4;
|
||||||
for light[index] in root.lights: LightTile {
|
for light[index] in root.lights: LightTile {
|
||||||
light: light;
|
light: light;
|
||||||
clicked => { toggle-light(light.id) }
|
clicked => { toggle-light(light.id) }
|
||||||
|
|||||||
Reference in New Issue
Block a user