From b700073b1761b3806b15da46a5c7453ac32155aa Mon Sep 17 00:00:00 2001 From: Avii Date: Thu, 6 Aug 2026 21:58:27 +0200 Subject: [PATCH] maths --- ui/main.slint | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/main.slint b/ui/main.slint index 75950fd..41e687d 100644 --- a/ui/main.slint +++ b/ui/main.slint @@ -13,8 +13,8 @@ export component MainWindow inherits Window { in-out property current-page: 0; in property text: "Hello World"; in property next-event-label: "NEXT EVENT"; - in property next-event-title: "LOADING CALENDAR"; - in property next-event-time: "--"; + in property next-event-title: "LOADING CALENDAR LORUM IPSUM DOLOR SIT AMET"; + in property next-event-time: "6:00 pm"; callback user-activity(); @@ -45,7 +45,7 @@ export component MainWindow inherits Window { Text { x: 38px; y: 12px; - width: parent.width - 128px; + width: (parent.width / 2) - (38px * 2) - 100px; height: 18px; text: root.next-event-label; font-size: 14px; @@ -55,7 +55,7 @@ export component MainWindow inherits Window { Text { x: 38px; y: 32px; - width: 390px; + width: (parent.width / 2) - (38px * 2) - 100px; height: 36px; text: root.next-event-title; font-size: 22px;