diff --git a/project/ui/calculation.slint b/project/ui/calculation.slint index b960a6f..b99c06d 100644 --- a/project/ui/calculation.slint +++ b/project/ui/calculation.slint @@ -1,11 +1,14 @@ import { VerticalBox, Button, Palette } from "std-widgets.slint"; +import { CalendarGrid } from "calendar.slint"; export component Calculation inherits PopupWindow { - width: 400px; - height: 200px; + width: 500px; + height: 350px; close-policy: PopupClosePolicy.no-auto-close; - in property message: "EXAMPLE MESSAGE"; + in property message; + in property start; + in property end; Rectangle { height: 100%; @@ -16,6 +19,11 @@ export component Calculation inherits PopupWindow { } VerticalBox { + CalendarGrid { + start: start; + end: end; + } + Text { text: message; font-size: 1.5rem;