Calculation implements the CalendarGrid widget

This commit is contained in:
Maddox Werts 2025-08-02 15:02:51 -04:00
parent 66c13bc08a
commit c3fd6dea17

View file

@ -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 <string> message: "EXAMPLE MESSAGE";
in property <string> message;
in property <int> start;
in property <int> 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;